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:
Marc-André Lureau
2017-01-16 09:19:46 +01:00
committed by Markus Armbruster
parent 2258a5dbbe
commit 4bbca422a5
2 changed files with 9 additions and 19 deletions
-18
View File
@@ -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
+9 -1
View File
@@ -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' }