diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-12-13 23:08:57 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-12-16 09:17:29 +0100 |
commit | 697c91db808446e1422dc5593c9f040e373e40bb (patch) | |
tree | 9cf21396b0632c8a92d902072ff03a99ecba4b51 /server/spice-experimental.h | |
parent | 14fef1954fd1eb68e89dad61a8b63b4a161adec1 (diff) | |
download | spice-697c91db808446e1422dc5593c9f040e373e40bb.tar.gz spice-697c91db808446e1422dc5593c9f040e373e40bb.tar.xz spice-697c91db808446e1422dc5593c9f040e373e40bb.zip |
client migration: switch host
Implement server-side support for switch-host client migration. Client
side support is present already in the tree.
Setting the migration information is done using the existing
spice_server_migrate_info() function. A new
spice_server_migrate_switch() function has been added which triggers
sending out the switch-host message.
Seamless migration functions are left there for now.
spice_server_migrate_start() has been chamnged to just fail
unconditionally though as seamless migration is broken anyway.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 4b1ea4e102bb8a737487dab51dd0f3fc94352948)
Diffstat (limited to 'server/spice-experimental.h')
-rw-r--r-- | server/spice-experimental.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/spice-experimental.h b/server/spice-experimental.h index 526062f3..70d22468 100644 --- a/server/spice-experimental.h +++ b/server/spice-experimental.h @@ -61,11 +61,13 @@ enum { SPICE_MIGRATE_CLIENT_READY, }; -int spice_server_migrate_info(SpiceServer *s, const char* dest, int port, int secure_port, +int spice_server_migrate_info(SpiceServer *s, const char* dest, + int port, int secure_port, const char* cert_subject); int spice_server_migrate_start(SpiceServer *s); int spice_server_migrate_client_state(SpiceServer *s); int spice_server_migrate_end(SpiceServer *s, int completed); +int spice_server_migrate_switch(SpiceServer *s); #endif // __SPICE_EXPERIMENTAL_H__ |