summaryrefslogtreecommitdiff
path: root/qemu-monitor.hx
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-04-23 13:28:21 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-08-04 17:15:52 +0200
commit91db0417ac64255a297d88543bc91b439a48c013 (patch)
tree115e51cc207bf6bb74debfce0d89cb0632b21ddf /qemu-monitor.hx
parent1b4ac7632a8337526555b91a9148ebfa5928c88a (diff)
spice: live migration (wip).
Handle spice client migration, i.e. inform a spice client connected about the new host and connection parameters, so it can move over the connection automatically.
Diffstat (limited to 'qemu-monitor.hx')
-rw-r--r--qemu-monitor.hx11
1 files changed, 11 insertions, 0 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index 2af3de6c2..f8c38a9f6 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -2497,6 +2497,17 @@ ETEXI
HXCOMM DO NOT add new commands after 'info', move your addition before it!
+#if defined(CONFIG_SPICE)
+ {
+ .name = "spice_migrate_info",
+ .args_type = "hostname:s,port:i?,tls-port:i?,cert-subject:s?",
+ .params = "hostname port tls-port cert-subject",
+ .help = "send migration info to spice client",
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = mon_spice_migrate,
+ },
+#endif
+
STEXI
@end table
ETEXI