qmp-commands: move 'block-dirty-bitmap-add' 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
12a21b73cb
commit
2258a5dbbe
@ -208,24 +208,6 @@ Example:
|
||||
"base": "/tmp/master.qcow2" } }
|
||||
<- { "return": {} }
|
||||
|
||||
block-dirty-bitmap-add
|
||||
----------------------
|
||||
Since 2.4
|
||||
|
||||
Create a dirty bitmap with a name on the device, and start tracking the writes.
|
||||
|
||||
Arguments:
|
||||
|
||||
- "node": device/node on which to create dirty bitmap (json-string)
|
||||
- "name": name of the new dirty bitmap (json-string)
|
||||
- "granularity": granularity to track writes with (int, optional)
|
||||
|
||||
Example:
|
||||
|
||||
-> { "execute": "block-dirty-bitmap-add", "arguments": { "node": "drive0",
|
||||
"name": "bitmap0" } }
|
||||
<- { "return": {} }
|
||||
|
||||
block-dirty-bitmap-remove
|
||||
-------------------------
|
||||
Since 2.4
|
||||
|
@ -1567,13 +1567,20 @@
|
||||
##
|
||||
# @block-dirty-bitmap-add:
|
||||
#
|
||||
# Create a dirty bitmap with a name on the node
|
||||
# Create a dirty bitmap with a name on the node, and start tracking the writes.
|
||||
#
|
||||
# Returns: nothing on success
|
||||
# If @node is not a valid block device or node, DeviceNotFound
|
||||
# If @name is already taken, GenericError with an explanation
|
||||
#
|
||||
# Since: 2.4
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "block-dirty-bitmap-add",
|
||||
# "arguments": { "node": "drive0", "name": "bitmap0" } }
|
||||
# <- { "return": {} }
|
||||
#
|
||||
##
|
||||
{ 'command': 'block-dirty-bitmap-add',
|
||||
'data': 'BlockDirtyBitmapAdd' }
|
||||
|
Loading…
Reference in New Issue
Block a user