diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2011-09-18 13:09:52 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2011-11-02 11:21:41 +0200 |
commit | e62521ca51dae8c6d943c345e9ff2124727eacaa (patch) | |
tree | f19196499e19af1c8665c676e6dd0b632640672e /server/reds.h | |
parent | fdb464bb052cab4a822a9bdc0835e33e0b90857f (diff) |
server: handle spice_server_migrate_end
If the migration has completed successfully:
(1) send MSG_MAIN_MIGRATE_END to the clients that are connected to the target
(2) send MSG_MAIN_SWITCH_HOST to all the other clients
If the migration failed, send MSG_MAIN_MIGRATE_CANCEL to clients that are
connected to the target.
(cherry picked from commit 4b82580fc36228af13db4ac3c403753d6b5c40b5 branch 0.8;
Was modified to support multiple clients, and the separation of main_channel from reds)
Conflicts:
server/reds.c
Diffstat (limited to 'server/reds.h')
-rw-r--r-- | server/reds.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/server/reds.h b/server/reds.h index 13fec421..9feb9ab3 100644 --- a/server/reds.h +++ b/server/reds.h @@ -133,8 +133,6 @@ void reds_client_disconnect(RedClient *client); typedef struct MainMigrateData MainMigrateData; void reds_marshall_migrate_data_item(SpiceMarshaller *m, MainMigrateData *data); void reds_fill_channels(SpiceMsgChannels *channels_info); -void reds_fill_mig_switch(SpiceMsgMainMigrationSwitchHost *migrate); -void reds_mig_release(void); int reds_num_of_channels(void); int reds_num_of_clients(void); #ifdef RED_STATISTICS |