mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
qmp-commands: move 'blockdev-snapshot-sync' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
0dc869cf70
commit
b4039d8d23
2 changed files with 13 additions and 28 deletions
|
@ -1037,7 +1037,9 @@
|
|||
#
|
||||
# @node-name: #optional graph node name to generate the snapshot from (Since 2.0)
|
||||
#
|
||||
# @snapshot-file: the target of the new image. A new file will be created.
|
||||
# @snapshot-file: the target of the new image. If the file exists, or
|
||||
# if it is a device, the snapshot will be created in the existing
|
||||
# file/device. Otherwise, a new file will be created.
|
||||
#
|
||||
# @snapshot-node-name: #optional the graph node name of the new image (Since 2.0)
|
||||
#
|
||||
|
@ -1171,6 +1173,16 @@
|
|||
# If @device is not a valid block device, DeviceNotFound
|
||||
#
|
||||
# Since: 0.14.0
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "blockdev-snapshot-sync",
|
||||
# "arguments": { "device": "ide-hd0",
|
||||
# "snapshot-file":
|
||||
# "/some/place/my-image",
|
||||
# "format": "qcow2" } }
|
||||
# <- { "return": {} }
|
||||
#
|
||||
##
|
||||
{ 'command': 'blockdev-snapshot-sync',
|
||||
'data': 'BlockdevSnapshotSync' }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue