aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 14:23:39 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:46 +0100
commit4bbca422a5d9e1019e2be90212c56c530ebb553b (patch)
tree0463b66608d08ac0a449a3da79b209e37376a11f
parent2258a5dbbebc0b846856673c1d9c001c6cd91d48 (diff)
downloadqemu-4bbca422a5d9e1019e2be90212c56c530ebb553b.zip
qemu-4bbca422a5d9e1019e2be90212c56c530ebb553b.tar.gz
qemu-4bbca422a5d9e1019e2be90212c56c530ebb553b.tar.bz2
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>
-rw-r--r--docs/qmp-commands.txt18
-rw-r--r--qapi/block-core.json10
2 files changed, 9 insertions, 19 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 56e47a1..3a6a4f5 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -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
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 5e97b0b..13a9742 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -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' }