aboutsummaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorOrit Wasserman <owasserm@redhat.com>2012-08-06 21:42:48 +0300
committerJuan Quintela <quintela@redhat.com>2012-08-08 13:51:11 +0200
commit00458433242dbfb6348d8e0bb6d356603d3e0067 (patch)
tree445d97d2195dfa0658dd41d5e03d9bfa33ce54fb /qapi-schema.json
parentbbf6da32b5bd32018069e4eaeda59a02855903f2 (diff)
downloadqemu-00458433242dbfb6348d8e0bb6d356603d3e0067.zip
qemu-00458433242dbfb6348d8e0bb6d356603d3e0067.tar.gz
qemu-00458433242dbfb6348d8e0bb6d356603d3e0067.tar.bz2
Add migrate-set-capabilities
The management can enable/disable a capability for the next migration by using migrate-set-capabilities QMP command. The user can use migrate_set_capability HMP command. Signed-off-by: Orit Wasserman <owasserm@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index f0d4510..e3847c8 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -334,6 +334,18 @@
'data': { 'capability' : 'MigrationCapability', 'state' : 'bool' } }
##
+# @migrate-set-capabilities
+#
+# Enable/Disable the following migration capabilities (like xbzrle)
+#
+# @capabilities: json array of capability modifications to make
+#
+# Since: 1.2
+##
+{ 'command': 'migrate-set-capabilities',
+ 'data': { 'capabilities': ['MigrationCapabilityStatus'] } }
+
+##
# @query-migrate-capabilities
#
# Returns information about the current migration capabilities status