summaryrefslogtreecommitdiffstats
path: root/server/smartcard.c
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2012-08-05 12:59:38 +0300
committerYonit Halperin <yhalperi@redhat.com>2012-08-27 09:13:04 +0300
commit2670fb9765e155d7930c045414c9915a80076159 (patch)
tree5d9f676695ace1b41ec6f935bfadb6c9d8439d62 /server/smartcard.c
parent6c9d1330afe1159a0acf4d9678ee77b41918dc5f (diff)
downloadspice-2670fb9765e155d7930c045414c9915a80076159.tar.gz
spice-2670fb9765e155d7930c045414c9915a80076159.tar.xz
spice-2670fb9765e155d7930c045414c9915a80076159.zip
smartcard: send MSG_MIGRATE upon vm migration completion
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
Diffstat (limited to 'server/smartcard.c')
-rw-r--r--server/smartcard.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/server/smartcard.c b/server/smartcard.c
index bbd68266..bc1c6e42 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);