mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
qmp-commands: move 'drive-mirror' 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
e1f34cb209
commit
12a21b73cb
2 changed files with 16 additions and 55 deletions
|
@ -1444,7 +1444,12 @@
|
|||
##
|
||||
# @drive-mirror:
|
||||
#
|
||||
# Start mirroring a block device's writes to a new destination.
|
||||
# Start mirroring a block device's writes to a new destination. target
|
||||
# specifies the target of the new image. If the file exists, or if it
|
||||
# is a device, it will be used as the new destination for writes. If
|
||||
# it does not exist, a new file will be created. format specifies the
|
||||
# format of the mirror image, default is to probe if mode='existing',
|
||||
# else the format of the source.
|
||||
#
|
||||
# See DriveMirror for parameter descriptions
|
||||
#
|
||||
|
@ -1452,6 +1457,16 @@
|
|||
# If @device is not a valid block device, GenericError
|
||||
#
|
||||
# Since: 1.3
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "drive-mirror",
|
||||
# "arguments": { "device": "ide-hd0",
|
||||
# "target": "/some/place/my-image",
|
||||
# "sync": "full",
|
||||
# "format": "qcow2" } }
|
||||
# <- { "return": {} }
|
||||
#
|
||||
##
|
||||
{ 'command': 'drive-mirror', 'boxed': true,
|
||||
'data': 'DriveMirror' }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue