mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 12:09:58 +00:00
qmp-commands: move 'blockdev-snapshot-delete-internal-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
bfeafc9c53
commit
b31177b028
@ -169,37 +169,6 @@ Example:
|
||||
<- { "return": { "status": "active", "completed": 1024000,
|
||||
"total": 2048000 } }
|
||||
|
||||
blockdev-snapshot-delete-internal-sync
|
||||
--------------------------------------
|
||||
|
||||
Synchronously delete an internal snapshot of a block device when the format of
|
||||
image used supports it. The snapshot is identified by name or id or both. One
|
||||
of name or id is required. If the snapshot is not found, the operation will
|
||||
fail.
|
||||
|
||||
Arguments:
|
||||
|
||||
- "device": the device name or node-name of a root node (json-string)
|
||||
- "id": ID of the snapshot (json-string, optional)
|
||||
- "name": name of the snapshot (json-string, optional)
|
||||
|
||||
Example:
|
||||
|
||||
-> { "execute": "blockdev-snapshot-delete-internal-sync",
|
||||
"arguments": { "device": "ide-hd0",
|
||||
"name": "snapshot0" }
|
||||
}
|
||||
<- { "return": {
|
||||
"id": "1",
|
||||
"name": "snapshot0",
|
||||
"vm-state-size": 0,
|
||||
"date-sec": 1000012,
|
||||
"date-nsec": 10,
|
||||
"vm-clock-sec": 100,
|
||||
"vm-clock-nsec": 20
|
||||
}
|
||||
}
|
||||
|
||||
blockdev-mirror
|
||||
------------
|
||||
|
||||
|
@ -135,6 +135,24 @@
|
||||
# If @id and @name are both not specified, GenericError
|
||||
#
|
||||
# Since: 1.7
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "blockdev-snapshot-delete-internal-sync",
|
||||
# "arguments": { "device": "ide-hd0",
|
||||
# "name": "snapshot0" }
|
||||
# }
|
||||
# <- { "return": {
|
||||
# "id": "1",
|
||||
# "name": "snapshot0",
|
||||
# "vm-state-size": 0,
|
||||
# "date-sec": 1000012,
|
||||
# "date-nsec": 10,
|
||||
# "vm-clock-sec": 100,
|
||||
# "vm-clock-nsec": 20
|
||||
# }
|
||||
# }
|
||||
#
|
||||
##
|
||||
{ 'command': 'blockdev-snapshot-delete-internal-sync',
|
||||
'data': { 'device': 'str', '*id': 'str', '*name': 'str'},
|
||||
|
Loading…
Reference in New Issue
Block a user