From 15fe69e06b6840fe7416ae8c8a4afc81fea62c21 Mon Sep 17 00:00:00 2001 From: Yonit Halperin Date: Sun, 5 Aug 2012 10:38:15 +0300 Subject: spicevmc: 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 --- server/spicevmc.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'server/spicevmc.c') diff --git a/server/spicevmc.c b/server/spicevmc.c index 8bc23fda..a1092d26 100644 --- a/server/spicevmc.c +++ b/server/spicevmc.c @@ -317,11 +317,6 @@ static void spicevmc_connect(RedChannel *channel, RedClient *client, } } -static void spicevmc_migrate(RedChannelClient *rcc) -{ - /* NOOP */ -} - SpiceCharDeviceState *spicevmc_device_connect(SpiceCharDeviceInstance *sin, uint8_t channel_type) { @@ -349,7 +344,6 @@ SpiceCharDeviceState *spicevmc_device_connect(SpiceCharDeviceInstance *sin, red_channel_init_outgoing_messages_window(&state->channel); client_cbs.connect = spicevmc_connect; - client_cbs.migrate = spicevmc_migrate; red_channel_register_client_cbs(&state->channel, &client_cbs); char_dev_cbs.read_one_msg_from_device = spicevmc_chardev_read_msg_from_dev; -- cgit