summaryrefslogtreecommitdiffstats
path: root/server/reds.h
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2012-08-02 11:19:30 +0300
committerYonit Halperin <yhalperi@redhat.com>2012-08-27 09:12:50 +0300
commit8e2576d5ab2f0c2089a74edbb5e3a9c2bfbfb06a (patch)
treee79ca23a033697a8def4f3b54e703f0ad8efc3f5 /server/reds.h
parent43e0897da5dd880fa9c2df5dd34d9de1ab13b862 (diff)
downloadspice-8e2576d5ab2f0c2089a74edbb5e3a9c2bfbfb06a.tar.gz
spice-8e2576d5ab2f0c2089a74edbb5e3a9c2bfbfb06a.tar.xz
spice-8e2576d5ab2f0c2089a74edbb5e3a9c2bfbfb06a.zip
seamless migration: pre migration phase on the destination side
- handle SPICE_MSGC_MAIN_MIGRATE_DST_DO_SEAMLESS - reply with SPICE_MSG_MAIN_MIGRATE_DST_SEAMLESS_ACK/NACK - prepare the channels for migration according to the migration type (semi/seamless) see spice-protocol for more details: commit 3838ad140a046c4ddf42fef58c9727ecfdc09f9f
Diffstat (limited to 'server/reds.h')
-rw-r--r--server/reds.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/reds.h b/server/reds.h
index b3a31558..71a0173f 100644
--- a/server/reds.h
+++ b/server/reds.h
@@ -154,6 +154,9 @@ void reds_on_main_migrate_connected(int seamless); //should be called when all t
// 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);
+/* migration dest side: returns whether it can support seamless migration
+ * with the given src migration protocol version */
+int reds_on_migrate_dst_set_seamless(MainChannelClient *mcc, uint32_t src_version);
void reds_on_client_migrate_complete(RedClient *client);
void reds_on_char_device_state_destroy(SpiceCharDeviceState *dev);