aboutsummaryrefslogtreecommitdiff
path: root/qmp-commands.hx
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 /qmp-commands.hx
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 'qmp-commands.hx')
-rw-r--r--qmp-commands.hx23
1 files changed, 23 insertions, 0 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx
index cb81766..a14db90 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -2143,6 +2143,29 @@ EQMP
},
SQMP
+migrate-set-capabilities
+-------
+
+Enable/Disable migration capabilities
+
+- "xbzrle": xbzrle support
+
+Arguments:
+
+Example:
+
+-> { "execute": "migrate-set-capabilities" , "arguments":
+ { "capabilities": [ { "capability": "xbzrle", "state": true } ] } }
+
+EQMP
+
+ {
+ .name = "migrate-set-capabilities",
+ .args_type = "capabilities:O",
+ .params = "capability:s,state:b",
+ .mhandler.cmd_new = qmp_marshal_input_migrate_set_capabilities,
+ },
+SQMP
query-migrate-capabilities
-------