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

Uri Lublin uril at redhat.com
Wed Aug 3 12:57:23 PDT 2011


On 08/03/2011 10:54 PM, Alon Levy wrote:
> 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();
>   }
>

Ack.


More information about the Spice-devel mailing list