From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV7pd-0003l8-1Q for qemu-devel@nongnu.org; Wed, 24 Apr 2013 18:06:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UV7pb-0000q8-PB for qemu-devel@nongnu.org; Wed, 24 Apr 2013 18:06:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5959) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV7pb-0000py-HC for qemu-devel@nongnu.org; Wed, 24 Apr 2013 18:06:27 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r3OM6Q0d007011 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 24 Apr 2013 18:06:26 -0400 Message-ID: <51785761.7020508@redhat.com> Date: Wed, 24 Apr 2013 16:06:25 -0600 From: Eric Blake MIME-Version: 1.0 References: <20130424163641.3e15bd43@redhat.com> <51784913.6020209@redhat.com> <20130424172911.753616ea@redhat.com> <517855B3.6060604@redhat.com> In-Reply-To: <517855B3.6060604@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2XPROIEMASCBIWPEEHJEH" Subject: Re: [Qemu-devel] [PATCH for-1.5] qmp: add query-drive-mirror-capabilities List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , Paolo Bonzini , qemu-devel , Luiz Capitulino This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2XPROIEMASCBIWPEEHJEH Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 04/24/2013 03:59 PM, Eric Blake wrote: > With full-blown command introspection, we would want to be asking for a= > JSON representation more details about each parameter, in a struct that= > looks something like { 'name':'str', 'type':'', > 'optional':'boolean', '*default':' default of any boolean option>', '*documentation':'str' }. If we don't= s/boolean option/optional parameter/ > provide filtering, then this JSON output might be quite large, because > it covers all QMP commands, >=20 Whatever we do for full-blown introspection will probably end up quite similar to what we do for command-line introspection; for those following along (bikeshedding on the naming is still happening, but the idea of a struct per command-line option is pretty much agreed on): https://lists.gnu.org/archive/html/qemu-devel/2013-04/msg04929.html --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2XPROIEMASCBIWPEEHJEH 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.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJReFdhAAoJEKeha0olJ0Nq7xsIAK3ipJecRobSDDVxcNKUVzK7 Ua/ls7NfFBfZdgZTlS2c/itZslXJLN+3yEoOYOSbbPQtPA1n8Q+82KeKfvJUvDw8 hUlgh8r7C4+nsRJ4TPYzrCDdB9cnXneAGLt2Smz9CvC/I8dd+fB2aMH7ppRkUVvc 9ia7Li0wyrlD/2qwzCSwJ0+qFR2M5u+bTjGr9TSdhdaq+mr1xjpvfK1dS0koNL9e Pt+WH7P34WXvCZttH+jcLBs6OVURmWxFfkVfvolPLiWHUv97IXlLyWQKqi89+g9H k7z+tllCgH1uH84OCmbwYQMi+Rusta8yJEH3Kydk58irY6k9Vhcibg8j1NRArIY= =43Ki -----END PGP SIGNATURE----- ------enig2XPROIEMASCBIWPEEHJEH--