qmp-commands: move 'block-dirty-bitmap-remove' 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
2258a5dbbe
commit
4bbca422a5
@ -208,24 +208,6 @@ Example:
|
||||
"base": "/tmp/master.qcow2" } }
|
||||
<- { "return": {} }
|
||||
|
||||
block-dirty-bitmap-remove
|
||||
-------------------------
|
||||
Since 2.4
|
||||
|
||||
Stop write tracking and remove the dirty bitmap that was created with
|
||||
block-dirty-bitmap-add.
|
||||
|
||||
Arguments:
|
||||
|
||||
- "node": device/node on which to remove dirty bitmap (json-string)
|
||||
- "name": name of the dirty bitmap to remove (json-string)
|
||||
|
||||
Example:
|
||||
|
||||
-> { "execute": "block-dirty-bitmap-remove", "arguments": { "node": "drive0",
|
||||
"name": "bitmap0" } }
|
||||
<- { "return": {} }
|
||||
|
||||
block-dirty-bitmap-clear
|
||||
------------------------
|
||||
Since 2.4
|
||||
|
@ -1588,7 +1588,8 @@
|
||||
##
|
||||
# @block-dirty-bitmap-remove:
|
||||
#
|
||||
# Remove a dirty bitmap on the node
|
||||
# Stop write tracking and remove the dirty bitmap that was created
|
||||
# with block-dirty-bitmap-add.
|
||||
#
|
||||
# Returns: nothing on success
|
||||
# If @node is not a valid block device or node, DeviceNotFound
|
||||
@ -1596,6 +1597,13 @@
|
||||
# if @name is frozen by an operation, GenericError
|
||||
#
|
||||
# Since: 2.4
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "block-dirty-bitmap-remove",
|
||||
# "arguments": { "node": "drive0", "name": "bitmap0" } }
|
||||
# <- { "return": {} }
|
||||
#
|
||||
##
|
||||
{ 'command': 'block-dirty-bitmap-remove',
|
||||
'data': 'BlockDirtyBitmap' }
|
||||
|
Loading…
Reference in New Issue
Block a user