From f45fb9e1b66f691da7432377e0ff4000bccc1aa9 Mon Sep 17 00:00:00 2001 From: Yonit Halperin Date: Mon, 2 Jul 2012 10:49:19 +0300 Subject: spice.h: add spice_server_set_seamless_migration This new call is used in order to identify whether qemu, or the management (e.g. libvirt), support seamless migration. If it is supported, qemu spice cmd-line configuration should have seamless-migration=on. In addition, we disable seamless migration support if multiple clients are allowed. Currently, only one client is supported. --- server/spice.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/spice.h') diff --git a/server/spice.h b/server/spice.h index fb51a471..ab1caed3 100644 --- a/server/spice.h +++ b/server/spice.h @@ -527,6 +527,8 @@ int spice_server_migrate_connect(SpiceServer *s, const char* dest, int spice_server_migrate_start(SpiceServer *s); int spice_server_migrate_end(SpiceServer *s, int completed); +void spice_server_set_seamless_migration(SpiceServer *s, int enable); + void spice_server_set_name(SpiceServer *s, const char *name); void spice_server_set_uuid(SpiceServer *s, const uint8_t uuid[16]); -- cgit