From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQdob-00016q-LR for qemu-devel@nongnu.org; Wed, 25 Feb 2015 10:23:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQdoX-0000LO-Ns for qemu-devel@nongnu.org; Wed, 25 Feb 2015 10:23:57 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQdoX-0000LJ-EB for qemu-devel@nongnu.org; Wed, 25 Feb 2015 10:23:53 -0500 Message-ID: <54EDE8DE.1000701@redhat.com> Date: Wed, 25 Feb 2015 08:23:10 -0700 From: Eric Blake MIME-Version: 1.0 References: <14cbc4c207ba6451894101aae39d146144a3c6dc.1423842044.git.berto@igalia.com> <54ECACB5.9030406@redhat.com> <20150225105635.GA14590@igalia.com> In-Reply-To: <20150225105635.GA14590@igalia.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="IM3cuctr3RIqEgnrcUR4QBoXBbsrdaHWe" Subject: Re: [Qemu-devel] [PATCH 9/9] throttle: add name of ThrottleGroup to BlockDeviceInfo List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alberto Garcia Cc: Kevin Wolf , qemu-devel@nongnu.org, Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --IM3cuctr3RIqEgnrcUR4QBoXBbsrdaHWe Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/25/2015 03:56 AM, Alberto Garcia wrote: >> Is there a command that can return the list of all throttle group >> names? >=20 > Not currently, but I think I can add one easily. Any suggestion for > the name of the command, and for the data that you would like it to > return? How about query-block-throttle, returning an array of dicts. Ideas for what it could contain would be the name of the block group, its current settings, and the node names associated with the group. Maybe something like: =3D> { "execute":"query-block-throttle" } <=3D { "return": [ { "name": "throttle1", "bps_max": 100000, "nodes": [ "block0", "block1" ] }, { "name": "throttle2", "iops_max": 10000, "nodes": [ "block2" ] } ] } --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --IM3cuctr3RIqEgnrcUR4QBoXBbsrdaHWe 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/ iQEcBAEBCAAGBQJU7ejeAAoJEKeha0olJ0NqPBUH/1EYbEtmsBpbPXrx3aeXhEZo nQyYVZ1CFVOn/pQwiB8VLOO8nKj8pZP7dbrAfkrqhoingHYXrt0+nznVRBeYAB0j zSRXguZCM+Ed2VcbkdxOYHlTKlSc2MIwvcMht/Ewbbyxojnb9kiqn+bwknvCeQxM iQChXezspkOtr0cfw0+qC5feOEzUvs7VT0IGDWCKdhrszv5BajeYqKPbWjeqyFAb Zu4P7lBTO4R6NQDyFCwUBvUKmoeuFRoWTOYUtXbiV0M/9mnDG/SiPFA7a85pA0DA +j1fOVT7M/cl1q/UU7FiAvw3sNY7l0AfqiSs+Pf/WSPog725CvpoIsl2HBSovf8= =MO7P -----END PGP SIGNATURE----- --IM3cuctr3RIqEgnrcUR4QBoXBbsrdaHWe--