[Spice-devel] [PATCH] client/red_client: fix broken switch host migration (RHBZ 727969)

Alon Levy alevy at redhat.com
Wed Aug 3 12:54:53 PDT 2011


3f8d7e59dbd94b1837503f37b5065698df3ffbc7 introduced a regression, after
sending one attach_channels message we never send another one.
Fix by resetting on disconnect.
---
 client/red_client.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/client/red_client.cpp b/client/red_client.cpp
index dbca036..a895261 100644
--- a/client/red_client.cpp
+++ b/client/red_client.cpp
@@ -538,6 +538,7 @@ void RedClient::connect(bool wait_main_disconnect)
 void RedClient::disconnect()
 {
     _migrate.abort();
+    _msg_attach_channels_sent = false;
     RedChannel::disconnect();
 }
 
-- 
1.7.6



More information about the Spice-devel mailing list