diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2012-08-14 14:47:49 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2012-08-27 09:13:00 +0300 |
commit | 275e4312df6c0f13ca2253ceac3976cee7d700e9 (patch) | |
tree | 7b49c3f4b54d7382c0a79ecc5cf71cd282362e08 /server/main_channel.h | |
parent | eb4c95b08b6848ee604497bb66392636341ad1fe (diff) | |
download | spice-275e4312df6c0f13ca2253ceac3976cee7d700e9.tar.gz spice-275e4312df6c0f13ca2253ceac3976cee7d700e9.tar.xz spice-275e4312df6c0f13ca2253ceac3976cee7d700e9.zip |
seamless migration: migration completion on the destination side
Tracking the channels that wait for migration data. If there
is a new migration process pending, when all the channels have
restored their state, we begin the new migration.
Diffstat (limited to 'server/main_channel.h')
-rw-r--r-- | server/main_channel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/main_channel.h b/server/main_channel.h index 40d2215a..8cfe62b5 100644 --- a/server/main_channel.h +++ b/server/main_channel.h @@ -104,7 +104,8 @@ int main_channel_migrate_connect(MainChannel *main_channel, RedsMigSpice *mig_ta int try_seamless); void main_channel_migrate_cancel_wait(MainChannel *main_chan); /* returns the number of clients for which SPICE_MSG_MAIN_MIGRATE_END was sent*/ -int main_channel_migrate_complete(MainChannel *main_chan, int success); +int main_channel_migrate_src_complete(MainChannel *main_chan, int success); +void main_channel_migrate_dst_complete(MainChannelClient *mcc); void main_channel_push_name(MainChannelClient *mcc, const char *name); void main_channel_push_uuid(MainChannelClient *mcc, const uint8_t uuid[16]); |