From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqVpS-0002WF-Bu for qemu-devel@nongnu.org; Wed, 02 Jan 2013 16:26:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqVpR-0004WI-4U for qemu-devel@nongnu.org; Wed, 02 Jan 2013 16:26:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:5751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqVpQ-0004Vw-Si for qemu-devel@nongnu.org; Wed, 02 Jan 2013 16:26:25 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r02LQNqQ010487 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 2 Jan 2013 16:26:23 -0500 Message-ID: <50E4A5FD.8040806@redhat.com> Date: Wed, 02 Jan 2013 14:26:21 -0700 From: Eric Blake MIME-Version: 1.0 References: <50E1F895.70006@redhat.com> <20130102203424.GB2289@jefflaptop.redhat.com> In-Reply-To: <20130102203424.GB2289@jefflaptop.redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig91247C951FF499E0723EA0DD" Subject: Re: [Qemu-devel] qemu-ga command listing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jeff Cody Cc: "qemu-devel@nongnu.org" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig91247C951FF499E0723EA0DD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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-comman= ds"}. >> >=20 > Hi Eric, >=20 > 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): >=20 > {"return":=20 > {"version": "1.0", "supported_commands":=20 > [{"enabled": true, "name": "guest-network-get-interfaces"},=20 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. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig91247C951FF499E0723EA0DD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBCAAGBQJQ5KX9AAoJEKeha0olJ0Nq9HAH/2KjNCppm2Ebsn14aZzDGgPl HmuYh+Cx4MfZuvp+qSO+QXkySSencvOYsrySxvga282ME+4xB6JaqSQEfmZ/SAxO MJkKTDJFJNd1eKR2hOQseuP3rGFYKxEjSr6+NWv3Gr7ZMBuGgOjlZ+GJor1DT/7N GQc2Pa+jwz6F5A9c55K8b2jJTKCt/dqZ9D6YmLJES8ebc9UrEF8WcyawuyMbR8OJ OOyRrCLPecL7kmQUvnyWfn0C01AaI+AENWUFkO+yrlQmF9vvioO5HGpxcocD8B6I ez8qNC4iEcH2dOv5D0i4T4kNSqT1uLC7B61GVrkkN3TJKj9bnHftcgRCOYpWGN0= =V63n -----END PGP SIGNATURE----- --------------enig91247C951FF499E0723EA0DD--