From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGtAC-0005Hx-MZ for qemu-devel@nongnu.org; Thu, 29 Jan 2015 12:45:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGtA9-0003Mj-Gt for qemu-devel@nongnu.org; Thu, 29 Jan 2015 12:45:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGtA9-0003MV-8u for qemu-devel@nongnu.org; Thu, 29 Jan 2015 12:45:53 -0500 Message-ID: <54CA71CD.3090304@redhat.com> Date: Thu, 29 Jan 2015 10:45:49 -0700 From: Eric Blake MIME-Version: 1.0 References: <1422543997-22808-1-git-send-email-dgilbert@redhat.com> <1422543997-22808-2-git-send-email-dgilbert@redhat.com> <20150129151527.GE1102@redhat.com> <54CA500E.8030608@redhat.com> <20150129155425.GE2391@work-vm> <54CA594E.5030605@redhat.com> <20150129162815.GG2391@work-vm> In-Reply-To: <20150129162815.GG2391@work-vm> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="TndFKEMLRgpHC97uK9HGUSJ2Duf1phM8M" Subject: Re: [Qemu-devel] [RFC 1/1] Execute arbitrary QMP commands from command line List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert" Cc: amit.shah@redhat.com, liang.z.li@intel.com, qemu-devel@nongnu.org, quintela@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --TndFKEMLRgpHC97uK9HGUSJ2Duf1phM8M Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 01/29/2015 09:28 AM, Dr. David Alan Gilbert wrote: >=20 > So what would the .args_type look like in qmp-commands.hx; something li= ke this? >=20 > .args-type =3D "type:s,port:-i,host:-s,command:-s" No, it would be more like the blockdev-add interface, where one command accepts a dictionary object containing a union of valid values, where the set of valid values is determined by the discriminator field. =2Eargs_type =3D "options:q". --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --TndFKEMLRgpHC97uK9HGUSJ2Duf1phM8M 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 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJUynHNAAoJEKeha0olJ0NqXBsH/3PB1zd9PJi/7Y1ShkgFuCuJ uDZDoa+zeLZ+GkJl+DZJql7Q8nAKceme516fez8XkkcPTCwsPwLzw9cr9QkhaI7u EADUVUp+ngHKMqeP91GzLkM1iM2EkcjOHhu+hdPVwPez8PtRE5Hr92oiLxwrZU5E zCVIuqQCs8VBxJDhTvqByAH7rnfgdObhTpsl8RDw35mzyeJTJMsCNrerM9k3C4AN fzuQyogoZouD6sjY6e7+vxVz9uJox32MFwICxu7/8qoF+FIPS72Sq52KZlNJOlvj VQmHrEDGMFKIep4fyoXMZ9DGRMHKO4VxBVCIAby2eoM9SyowIRNPY80pekrjElI= =QNiJ -----END PGP SIGNATURE----- --TndFKEMLRgpHC97uK9HGUSJ2Duf1phM8M--