diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2012-07-02 10:49:19 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2012-08-27 09:04:52 +0300 |
commit | f45fb9e1b66f691da7432377e0ff4000bccc1aa9 (patch) | |
tree | bee46be89b6d4fb002b81d0fe443950222494d24 /server/spice.h | |
parent | 2a1369c91966450424910d51f39e4b57a7c8973f (diff) | |
download | spice-f45fb9e1b66f691da7432377e0ff4000bccc1aa9.tar.gz spice-f45fb9e1b66f691da7432377e0ff4000bccc1aa9.tar.xz spice-f45fb9e1b66f691da7432377e0ff4000bccc1aa9.zip |
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.
Diffstat (limited to 'server/spice.h')
-rw-r--r-- | server/spice.h | 2 |
1 files changed, 2 insertions, 0 deletions
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]); |