This fixes spice-gtk printing message like these on migration: (remote-viewer:18402): GSpice-CRITICAL **: spice_channel_iterate_read: assertion `c->state != SPICE_CHANNEL_STATE_MIGRATING' failed Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx> --- server/inputs_channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/inputs_channel.c b/server/inputs_channel.c index c9c79be..c968bb2 100644 --- a/server/inputs_channel.c +++ b/server/inputs_channel.c @@ -522,7 +522,7 @@ static void inputs_connect(RedChannel *channel, RedClient *client, spice_assert(g_inputs_channel); spice_assert(channel == &g_inputs_channel->base); - if (!stream->ssl) { + if (!stream->ssl && !red_client_during_migrate_at_target(client)) { main_channel_client_push_notify(red_client_get_main(client), "keyboard channel is insecure"); } -- 1.8.1.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel