[Spice-devel] [spice PATCH 50/55] red_channel: set send_data.last_sent_serial in red_channel_client_set_message_serial

Yonit Halperin yhalperi at redhat.com
Wed Aug 15 00:56:30 PDT 2012


red_channel_client_set_message_serial is called for setting
the serial of the display channel messages after migration (on the
destination side). The serial is retrieved from the migration data.
---
 server/red_channel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/server/red_channel.c b/server/red_channel.c
index 97a26d1..c720b70 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -1269,6 +1269,7 @@ uint64_t red_channel_client_get_message_serial(RedChannelClient *rcc)
 
 void red_channel_client_set_message_serial(RedChannelClient *rcc, uint64_t serial)
 {
+    rcc->send_data.last_sent_serial = serial;
     rcc->send_data.serial = serial;
 }
 
-- 
1.7.7.6



More information about the Spice-devel mailing list