mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-12 21:44:46 +00:00
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
This commit is contained in:
parent
6c9d1330af
commit
2670fb9765
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user