[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu-ga command listing
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] qemu-ga command listing |
Date: |
Wed, 02 Jan 2013 14:26:21 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
On 01/02/2013 01:34 PM, Jeff Cody wrote:
> On Mon, Dec 31, 2012 at 01:41:57PM -0700, Eric Blake wrote:
>> Is there a guest-agent command for querying the list of available
>> commands for a given guest agent? If not, should there be? In other
>> words, I'm looking for the counterpart to QMP {"execute":"query-commands"}.
>>
>
> Hi Eric,
>
> There is guest-info ({"execute": "guest-info"}), which returns a list
> of supported commands, and whether or not that command is enabled or
> disabled (e.g. it may be blacklisted). Here is an example of the
> output, with guest-file-* operations blacklisted (formatted slightly
> for better readability):
>
> {"return":
> {"version": "1.0", "supported_commands":
> [{"enabled": true, "name": "guest-network-get-interfaces"},
Thanks, that's mostly what I wanted. Still missing is the ability to
tell if a command is expected to return a value on success, though.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature