summaryrefslogtreecommitdiffstats
path: root/server/reds.h
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2011-10-09 13:13:41 +0200
committerYonit Halperin <yhalperi@redhat.com>2011-11-02 11:25:59 +0200
commitf683815ad53cc39f485ddac9770e23282ca5c340 (patch)
tree7e5955361ce1fbf47395d0e18d858c8c566fd58b /server/reds.h
parentc88e927fc734fdb8240d925eb9e6a87b203c5bb3 (diff)
downloadspice-f683815ad53cc39f485ddac9770e23282ca5c340.tar.gz
spice-f683815ad53cc39f485ddac9770e23282ca5c340.tar.xz
spice-f683815ad53cc39f485ddac9770e23282ca5c340.zip
server: handling semi-seamless migration in the target side
(1) not sending anything to a migrated client till we recieve SPICE_MSGC_MIGRATE_END (2) start a new client migration (handle client_migrate_info) only after SPICE_MSGC_MIGRATE_END from the previous migration was received for this client (3) use the correct ticket Note: we assume the same channles are linked before and ater migration. i.e., SPICE_MSGC_MAIN_ATTACH_CHANNELS is not sent from the clients.
Diffstat (limited to 'server/reds.h')
-rw-r--r--server/reds.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/reds.h b/server/reds.h
index 9feb9ab3..450825de 100644
--- a/server/reds.h
+++ b/server/reds.h
@@ -147,6 +147,6 @@ void reds_on_main_migrate_connected(void); //should be called when all the clien
// are connected to the target
void reds_on_main_receive_migrate_data(MainMigrateData *data, uint8_t *end);
void reds_on_main_mouse_mode_request(void *message, size_t size);
-
+void reds_on_client_migrate_complete(RedClient *client);
#endif