From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqP8X-0006H5-4V for qemu-devel@nongnu.org; Tue, 10 Dec 2013 10:22:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VqP8S-0004vu-A3 for qemu-devel@nongnu.org; Tue, 10 Dec 2013 10:22:13 -0500 Received: from mx1.redhat.com ([209.132.183.28]:65327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqP8S-0004vo-1d for qemu-devel@nongnu.org; Tue, 10 Dec 2013 10:22:08 -0500 Message-ID: <52A73198.6050009@redhat.com> Date: Tue, 10 Dec 2013 08:22:00 -0700 From: Eric Blake MIME-Version: 1.0 References: <1386263703-19292-1-git-send-email-benoit@irqsave.net> <1386263703-19292-4-git-send-email-benoit@irqsave.net> <52A1F46A.9000307@redhat.com> <20131209154603.GD3364@irqsave.net> In-Reply-To: <20131209154603.GD3364@irqsave.net> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vD2Oc3UTD3fRIdnUHwB3L88Cloj90Bp3G" Subject: Re: [Qemu-devel] [PATCH V4 3/7] qmp: Add a command to list the named BlockDriverState nodes. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?QmVub8OudCBDYW5ldA==?= Cc: kwolf@redhat.com, famz@redhat.com, jcody@redhat.com, qemu-devel@nongnu.org, armbru@redhat.com, stefanha@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --vD2Oc3UTD3fRIdnUHwB3L88Cloj90Bp3G Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 12/09/2013 08:46 AM, Beno=C3=AEt Canet wrote: >>> +{ 'command': 'query-named-block-nodes', 'returns': [ 'str' ] } >> >> Also, is list of names sufficient, or are we better off returning a li= st >> of structs with the details already included? With list of names, the= >> management app has to follow up with another QMP command per name if i= t >> wants to know details about each node, instead of getting it all in on= e >> command. >=20 > Would a list of BlockDeviceInfo be fine ? Yes, I think that would be just fine. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --vD2Oc3UTD3fRIdnUHwB3L88Cloj90Bp3G 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.15 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJSpzGYAAoJEKeha0olJ0Nqx2YH+we7pLaZJWKTAERpVNu+05ug MZgSgirHuvizs2zlh1YpB8fiopn7mqKLHlRKfitL2VplaEH1uxC7kLKpE3VGuqXl tiJTqBej3VfKNGerCziS8gakFGYv3ICHCJWrvxAhH+PG2UxKzOKujdmkV2rL89UF 1VsPh9VP14f4bG8gFjH4Cd2SoCFgyFDfFUVEdvFqsAHHx6BU3nJbnhRc5Y09y44q 7XmooNsnf8ZdfKJDTU+cMfnAHTaXsf71ZDwZNQMrt2yj9JotAmIwyAMFprdgpzzK 795jhC2Iui6/66iGAJbvYLNVmtzt+bYdtitbTP4xg3L8PuEfhm7Dyo/kDYkvN7A= =riSz -----END PGP SIGNATURE----- --vD2Oc3UTD3fRIdnUHwB3L88Cloj90Bp3G--