mirror of https://github.com/proxmox/mirror_qemu
qmp-commands: move 'block_resize' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>master
parent
91f96b643c
commit
0dc869cf70
|
@ -169,22 +169,6 @@ Example:
|
||||||
<- { "return": { "status": "active", "completed": 1024000,
|
<- { "return": { "status": "active", "completed": 1024000,
|
||||||
"total": 2048000 } }
|
"total": 2048000 } }
|
||||||
|
|
||||||
block_resize
|
|
||||||
------------
|
|
||||||
|
|
||||||
Resize a block image while a guest is running.
|
|
||||||
|
|
||||||
Arguments:
|
|
||||||
|
|
||||||
- "device": the device's ID, must be unique (json-string)
|
|
||||||
- "node-name": the node name in the block driver state graph (json-string)
|
|
||||||
- "size": new size
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
-> { "execute": "block_resize", "arguments": { "device": "scratch", "size": 1073741824 } }
|
|
||||||
<- { "return": {} }
|
|
||||||
|
|
||||||
block-stream
|
block-stream
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
|
|
@ -999,6 +999,13 @@
|
||||||
# If @device is not a valid block device, DeviceNotFound
|
# If @device is not a valid block device, DeviceNotFound
|
||||||
#
|
#
|
||||||
# Since: 0.14.0
|
# Since: 0.14.0
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
#
|
||||||
|
# -> { "execute": "block_resize",
|
||||||
|
# "arguments": { "device": "scratch", "size": 1073741824 } }
|
||||||
|
# <- { "return": {} }
|
||||||
|
#
|
||||||
##
|
##
|
||||||
{ 'command': 'block_resize', 'data': { '*device': 'str',
|
{ 'command': 'block_resize', 'data': { '*device': 'str',
|
||||||
'*node-name': 'str',
|
'*node-name': 'str',
|
||||||
|
|
Loading…
Reference in New Issue