aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 10:25:56 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:26 +0100
commit0a0bb9644212cce5f906280d543dd73c88f866db (patch)
tree1777195759e966bd3a6fd613b264cd9e331d7d75
parent104b1caf0544292ab27c9281bb48b0d9bd098658 (diff)
downloadqemu-0a0bb9644212cce5f906280d543dd73c88f866db.zip
qemu-0a0bb9644212cce5f906280d543dd73c88f866db.tar.gz
qemu-0a0bb9644212cce5f906280d543dd73c88f866db.tar.bz2
qmp-commands: move 'migrate-set-capabilities' 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.txt21
-rw-r--r--qapi-schema.json6
2 files changed, 6 insertions, 21 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 094e314..da7e88b 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -2458,27 +2458,6 @@ Example:
]
}
-migrate-set-capabilities
-------------------------
-
-Enable/Disable migration capabilities
-
-- "xbzrle": XBZRLE support
-- "rdma-pin-all": pin all pages when using RDMA during migration
-- "auto-converge": throttle down guest to help convergence of migration
-- "zero-blocks": compress zero blocks during block migration
-- "compress": use multiple compression threads to accelerate live migration
-- "events": generate events for each migration state change
-- "postcopy-ram": postcopy mode for live migration
-- "x-colo": COarse-Grain LOck Stepping (COLO) for Non-stop Service
-
-Arguments:
-
-Example:
-
--> { "execute": "migrate-set-capabilities" , "arguments":
- { "capabilities": [ { "capability": "xbzrle", "state": true } ] } }
-
query-migrate-capabilities
--------------------------
diff --git a/qapi-schema.json b/qapi-schema.json
index 6ea311c..34712f2 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -846,6 +846,12 @@
# @capabilities: json array of capability modifications to make
#
# Since: 1.2
+#
+# Example:
+#
+# -> { "execute": "migrate-set-capabilities" , "arguments":
+# { "capabilities": [ { "capability": "xbzrle", "state": true } ] } }
+#
##
{ 'command': 'migrate-set-capabilities',
'data': { 'capabilities': ['MigrationCapabilityStatus'] } }