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:16:10 +0100 |
commit | 4b1ea4e102bb8a737487dab51dd0f3fc94352948 (patch) | |
tree | 36ffc0b4d81f9dcf1ab8ed3ef57f6a07f5abc47f /server/spice-experimental.h | |
parent | 5d2aa8084e4432e6ae496e3e18f14c722041b9ea (diff) | |
download | spice-4b1ea4e102bb8a737487dab51dd0f3fc94352948.tar.gz spice-4b1ea4e102bb8a737487dab51dd0f3fc94352948.tar.xz spice-4b1ea4e102bb8a737487dab51dd0f3fc94352948.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>
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__ |