[Spice-devel] [PATCH spice-server 6/9] main-channel: Put all migration message handling together
Victor Toso
victortoso at redhat.com
Tue Dec 5 10:22:27 UTC 2017
On Tue, Dec 05, 2017 at 08:41:09AM +0000, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> server/main-channel.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Acked-by: Victor Toso <victortoso at redhat.com>
>
> diff --git a/server/main-channel.c b/server/main-channel.c
> index 34f54768..68386b61 100644
> --- a/server/main-channel.c
> +++ b/server/main-channel.c
> @@ -207,6 +207,9 @@ static bool main_channel_handle_message(RedChannelClient *rcc, uint16_t type,
> main_channel_client_handle_migrate_dst_do_seamless(mcc,
> ((SpiceMsgcMainMigrateDstDoSeamless *)message)->src_version);
> break;
> + case SPICE_MSGC_MAIN_MIGRATE_END:
> + main_channel_client_handle_migrate_end(mcc);
> + break;
> case SPICE_MSGC_MAIN_MOUSE_MODE_REQUEST:
> reds_on_main_mouse_mode_request(reds, message, size);
> break;
> @@ -215,9 +218,6 @@ static bool main_channel_handle_message(RedChannelClient *rcc, uint16_t type,
> break;
> case SPICE_MSGC_DISCONNECTING:
> break;
> - case SPICE_MSGC_MAIN_MIGRATE_END:
> - main_channel_client_handle_migrate_end(mcc);
> - break;
> default:
> return red_channel_client_handle_message(rcc, type, size, message);
> }
> --
> 2.14.3
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20171205/7023113b/attachment.sig>
More information about the Spice-devel
mailing list