[Spice-devel] [spice PATCH 28/55] smartcard: send MSG_MIGRATE upon vm migration completion

Yonit Halperin yhalperi at redhat.com
Wed Aug 15 00:56:08 PDT 2012


The above is the default behaviour for red_channel_client, if
client_cbs.migrate is not registered as part of red_channel_register_client_cbs
---
 server/smartcard.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/server/smartcard.c b/server/smartcard.c
index bbd6826..bc1c6e4 100644
--- a/server/smartcard.c
+++ b/server/smartcard.c
@@ -700,10 +700,6 @@ static void smartcard_connect_client(RedChannel *channel, RedClient *client,
     }
 }
 
-static void smartcard_migrate(RedChannelClient *rcc)
-{
-}
-
 SmartCardChannel *g_smartcard_channel;
 
 static void smartcard_init(void)
@@ -735,7 +731,6 @@ static void smartcard_init(void)
     }
 
     client_cbs.connect = smartcard_connect_client;
-    client_cbs.migrate = smartcard_migrate;
     red_channel_register_client_cbs(&g_smartcard_channel->base, &client_cbs);
 
     reds_register_channel(&g_smartcard_channel->base);
-- 
1.7.7.6



More information about the Spice-devel mailing list