diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 14:48:23 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:46 +0100 |
commit | b4a0ac14e8944ca36a7e77033086b3fe5b751659 (patch) | |
tree | 33abcae5f9f932775b1398cd9a407510682e6787 /qapi | |
parent | 73dffdc89f00f759b8ce670e78a74b8f322b1cd9 (diff) |
qmp-commands: move 'block_set_io_throttle' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/block-core.json | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json index d8c670632f..f6e6667361 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -1715,6 +1715,26 @@ # If @device is not a valid block device, DeviceNotFound # # Since: 1.1 +# +# Example: +# +# -> { "execute": "block_set_io_throttle", +# "arguments": { "id": "ide0-1-0", +# "bps": 1000000, +# "bps_rd": 0, +# "bps_wr": 0, +# "iops": 0, +# "iops_rd": 0, +# "iops_wr": 0, +# "bps_max": 8000000, +# "bps_rd_max": 0, +# "bps_wr_max": 0, +# "iops_max": 0, +# "iops_rd_max": 0, +# "iops_wr_max": 0, +# "bps_max_length": 60, +# "iops_size": 0 } } +# <- { "return": {} } ## { 'command': 'block_set_io_throttle', 'boxed': true, 'data': 'BlockIOThrottle' } |