[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 9/9] throttle: add name of ThrottleGroup to Bloc
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 9/9] throttle: add name of ThrottleGroup to BlockDeviceInfo |
Date: |
Wed, 25 Feb 2015 08:23:10 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 02/25/2015 03:56 AM, Alberto Garcia wrote:
>> Is there a command that can return the list of all throttle group
>> names?
>
> 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:
=> { "execute":"query-block-throttle" }
<= { "return": [
{ "name": "throttle1", "bps_max": 100000,
"nodes": [ "block0", "block1" ] },
{ "name": "throttle2", "iops_max": 10000,
"nodes": [ "block2" ] }
] }
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
[Qemu-devel] [PATCH 4/9] throttle: Prepare to have multiple timers for one ThrottleState, Alberto Garcia, 2015/02/13
[Qemu-devel] [PATCH 5/9] throttle: Add a way to know if throttle_schedule_timer had armed a timer, Alberto Garcia, 2015/02/13
[Qemu-devel] [PATCH 7/9] throttle: Add throttle group support, Alberto Garcia, 2015/02/13
[Qemu-devel] [PATCH 2/9] throttle: Add throttle group infrastructure, Alberto Garcia, 2015/02/13
[Qemu-devel] [PATCH 1/9] throttle: Extract timers from ThrottleState into a separate ThrottleTimers structure, Alberto Garcia, 2015/02/13