diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2011-12-14 16:49:14 -0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-01-18 10:23:39 -0200 |
commit | 80047da59b17053b69e8bdc143c8fb4b3a44cb7d (patch) | |
tree | 306833f8a865b3edfc3e85a462cda8e8fa01269b /qapi-schema.json | |
parent | 333a96ec9fd08eaa03f8de1acc41a2851ccb8096 (diff) | |
download | qemu-80047da59b17053b69e8bdc143c8fb4b3a44cb7d.zip qemu-80047da59b17053b69e8bdc143c8fb4b3a44cb7d.tar.gz qemu-80047da59b17053b69e8bdc143c8fb4b3a44cb7d.tar.bz2 |
qapi: Convert block_set_io_throttle
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r-- | qapi-schema.json | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index eb20dac..9b154cc 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -1402,3 +1402,32 @@ ## { 'command': 'change', 'data': {'device': 'str', 'target': 'str', '*arg': 'str'} } + +## +# @block_set_io_throttle: +# +# Change I/O throttle limits for a block drive. +# +# @device: The name of the device +# +# @bps: total throughput limit in bytes per second +# +# @bps_rd: read throughput limit in bytes per second +# +# @bps_wr: write throughput limit in bytes per second +# +# @iops: total I/O operations per second +# +# @ops_rd: read I/O operations per second +# +# @iops_wr: write I/O operations per second +# +# Returns: Nothing on success +# If @device is not a valid block device, DeviceNotFound +# If the argument combination is invalid, InvalidParameterCombination +# +# Since: 1.1 +## +{ 'command': 'block_set_io_throttle', + 'data': { 'device': 'str', 'bps': 'int', 'bps_rd': 'int', 'bps_wr': 'int', + 'iops': 'int', 'iops_rd': 'int', 'iops_wr': 'int' } } |