summaryrefslogtreecommitdiff
path: root/qmp-commands.hx
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-02-01 15:22:48 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2011-02-01 15:22:48 -0600
commit9363ee31ab53fc0fd39fbe5936d9c00a2f4e54a4 (patch)
tree77c55ab45310cbeced2a05e1f85a109bf2efd481 /qmp-commands.hx
parentcfb41c82ab9c468e599d3603ffcebeb81b6577ca (diff)
parentcbcc6336ce9e5c048821b136649712e078c4d05f (diff)
downloadqemu-9363ee31ab53fc0fd39fbe5936d9c00a2f4e54a4.tar.gz
Merge remote branch 'spice/spice.v29.pull' into staging
Conflicts: trace-events
Diffstat (limited to 'qmp-commands.hx')
-rw-r--r--qmp-commands.hx35
1 files changed, 35 insertions, 0 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx
index 9f79f5fdf2..df40a3d42e 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -503,6 +503,41 @@ EQMP
},
SQMP
+client_migrate_info
+------------------
+
+Set the spice/vnc connection info for the migration target. The spice/vnc
+server will ask the spice/vnc client to automatically reconnect using the
+new parameters (if specified) once the vm migration finished successfully.
+
+Arguments:
+
+- "protocol": protocol: "spice" or "vnc" (json-string)
+- "hostname": migration target hostname (json-string)
+- "port": spice/vnc tcp port for plaintext channels (json-int, optional)
+- "tls-port": spice tcp port for tls-secured channels (json-int, optional)
+- "cert-subject": server certificate subject (json-string, optional)
+
+Example:
+
+-> { "execute": "client_migrate_info",
+ "arguments": { "protocol": "spice",
+ "hostname": "virt42.lab.kraxel.org",
+ "port": 1234 } }
+<- { "return": {} }
+
+EQMP
+
+ {
+ .name = "client_migrate_info",
+ .args_type = "protocol:s,hostname:s,port:i?,tls-port:i?,cert-subject:s?",
+ .params = "protocol hostname port tls-port cert-subject",
+ .help = "send migration info to spice/vnc client",
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = client_migrate_info,
+ },
+
+SQMP
migrate_set_speed
-----------------