summaryrefslogtreecommitdiff
path: root/server/reds.h
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2012-07-04 16:23:58 +0300
committerYonit Halperin <yhalperi@redhat.com>2012-08-27 09:12:03 +0300
commit43e0897da5dd880fa9c2df5dd34d9de1ab13b862 (patch)
tree515bdfafa3c25310d1f47a8f17afc97dcfcb75f8 /server/reds.h
parent35cf65a45e5327966d19cd5db0cb2c91bb828abe (diff)
seamless migration: pre migration phase on the src side
sending SPICE_MSG_MAIN_MIGRATE_BEGIN_SEAMLESS and handling SPICE_MSGC_MAIN_MIGRATE_CONNECTED_SEAMLESS The src side signals the client to establish a connection to the destination. In seamless migration, the client is also used to perform a sort of handshake with the destination, for verifying if seamless migration can be supported. see spice-protocol for more details: commit 3838ad140a046c4ddf42fef58c9727ecfdc09f9f
Diffstat (limited to 'server/reds.h')
-rw-r--r--server/reds.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/reds.h b/server/reds.h
index 87125d25..b3a31558 100644
--- a/server/reds.h
+++ b/server/reds.h
@@ -150,8 +150,8 @@ void reds_on_main_agent_tokens(MainChannelClient *mcc, uint32_t num_tokens);
uint8_t *reds_get_agent_data_buffer(MainChannelClient *mcc, size_t size);
void reds_release_agent_data_buffer(uint8_t *buf);
void reds_on_main_agent_data(MainChannelClient *mcc, void *message, size_t size);
-void reds_on_main_migrate_connected(void); //should be called when all the clients
- // are connected to the target
+void reds_on_main_migrate_connected(int seamless); //should be called when all the clients
+ // 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);