diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2012-08-05 15:57:44 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2012-08-27 09:13:07 +0300 |
commit | 3af4b7235d23e9d0be2da780d5da9b3fcb29466f (patch) | |
tree | ed5003644f97db35ac29a57791651c0f5180cd4b /server/reds.h | |
parent | c617379821feb0c2cf990394163765498ae1bda1 (diff) |
main: send MSG_MIGRATE upon vm migration completion
Before sending the above msg, if there is a pending partial msg that
has been read from the agent, we send it to the client. The alternative
was to keep the msg as part of the migration data, and then
to send it to the destination server via the client and to wait there
for the msg chunk completion, before sending it to the client. Of
course, the latter is less efficient.
Diffstat (limited to 'server/reds.h')
-rw-r--r-- | server/reds.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/reds.h b/server/reds.h index 779d0dbe..a575d11c 100644 --- a/server/reds.h +++ b/server/reds.h @@ -159,6 +159,7 @@ void reds_on_main_mouse_mode_request(void *message, size_t size); int reds_on_migrate_dst_set_seamless(MainChannelClient *mcc, uint32_t src_version); void reds_on_client_semi_seamless_migrate_complete(RedClient *client); void reds_on_client_seamless_migrate_complete(RedClient *client); +void reds_on_main_channel_migrate(MainChannelClient *mcc); void reds_on_char_device_state_destroy(SpiceCharDeviceState *dev); #endif |