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 95e30a0..88b12d4 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -1201,28 +1201,6 @@ { 'command': 'balloon', 'data': {'value': 'int'} } ## -# @block_resize -# -# Resize a block image while a guest is running. -# -# Either @device or @node-name must be set but not both. -# -# @device: #optional the name of the device to get the image resized -# -# @node-name: #optional graph node name to get the image resized (Since 2.0) -# -# @size: new image size in bytes -# -# Returns: nothing on success -# If @device is not a valid block device, DeviceNotFound -# -# Since: 0.14.0 -## -{ 'command': 'block_resize', 'data': { '*device': 'str', - '*node-name': 'str', - 'size': 'int' }} - -## # @NewImageMode # # An enumeration that tells QEMU how to set the backing file path in diff --git a/qapi/block-core.json b/qapi/block-core.json index 0add09a..a23c1ef 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -560,3 +560,25 @@ { 'command': 'block_passwd', 'data': {'*device': 'str', '*node-name': 'str', 'password': 'str'} } +## +# @block_resize +# +# Resize a block image while a guest is running. +# +# Either @device or @node-name must be set but not both. +# +# @device: #optional the name of the device to get the image resized +# +# @node-name: #optional graph node name to get the image resized (Since 2.0) +# +# @size: new image size in bytes +# +# Returns: nothing on success +# If @device is not a valid block device, DeviceNotFound +# +# Since: 0.14.0 +## +{ 'command': 'block_resize', 'data': { '*device': 'str', + '*node-name': 'str', + 'size': 'int' }} + -- 1.9.1