Signed-off-by: Benoit Canet <ben...@irqsave.net> --- qapi-schema.json | 22 ---------------------- qapi/block-core.json | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/qapi-schema.json b/qapi-schema.json index 3c71c16..307fc54 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -1621,28 +1621,6 @@ 'data': {'device': 'str', 'target': 'str', '*arg': 'str'} } ## -# @block-job-set-speed: -# -# Set maximum speed for a background block operation. -# -# This command can only be issued when there is an active block job. -# -# Throttling can be disabled by setting the speed to 0. -# -# @device: the device name -# -# @speed: the maximum speed, in bytes per second, or 0 for unlimited. -# Defaults to 0. -# -# Returns: Nothing on success -# If no background operation is active on this device, DeviceNotActive -# -# Since: 1.1 -## -{ 'command': 'block-job-set-speed', - 'data': { 'device': 'str', 'speed': 'int' } } - -## # @block-job-cancel: # # Stop an active background block operation. diff --git a/qapi/block-core.json b/qapi/block-core.json index a91f21a..48b2fc3 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -886,3 +886,25 @@ 'data': { 'device': 'str', '*base': 'str', '*speed': 'int', '*on-error': 'BlockdevOnError' } } +## +# @block-job-set-speed: +# +# Set maximum speed for a background block operation. +# +# This command can only be issued when there is an active block job. +# +# Throttling can be disabled by setting the speed to 0. +# +# @device: the device name +# +# @speed: the maximum speed, in bytes per second, or 0 for unlimited. +# Defaults to 0. +# +# Returns: Nothing on success +# If no background operation is active on this device, DeviceNotActive +# +# Since: 1.1 +## +{ 'command': 'block-job-set-speed', + 'data': { 'device': 'str', 'speed': 'int' } } + -- 1.9.1