diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2012-08-05 10:38:15 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2012-08-27 09:13:03 +0300 |
commit | 15fe69e06b6840fe7416ae8c8a4afc81fea62c21 (patch) | |
tree | 40406d5981b235cced72bb931a2a5a9769218e61 /server | |
parent | 1f85f1de65301927cac1a053da91e08901d81c46 (diff) | |
download | spice-15fe69e06b6840fe7416ae8c8a4afc81fea62c21.tar.gz spice-15fe69e06b6840fe7416ae8c8a4afc81fea62c21.tar.xz spice-15fe69e06b6840fe7416ae8c8a4afc81fea62c21.zip |
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
Diffstat (limited to 'server')
-rw-r--r-- | server/spicevmc.c | 6 |
1 files changed, 0 insertions, 6 deletions
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; |