[Spice-devel] [PATCH spice 4/4] inputs-channel: Don't send insecure keyb notify to in migrate client
Hans de Goede
hdegoede at redhat.com
Thu Mar 14 09:27:20 PDT 2013
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 at redhat.com>
---
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
More information about the Spice-devel
mailing list