[spice PATCH 23/55] spicevmc: send MSG_MIGRATE upon vm migration completion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/server/spicevmc.c b/server/spicevmc.c
index 8bc23fd..a1092d2 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;
-- 
1.7.7.6

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]