[PATCH 04/16] Change reds_migrate_channels_seamless() to take RedsState arg

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

 



From: Jonathon Jongsma <jjongsma@xxxxxxxxxx>

---
 server/reds.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/reds.c b/server/reds.c
index fa29993..9d0391f 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -2903,7 +2903,7 @@ static void reds_mig_remove_wait_disconnect_client(RedsState *reds, RedClient *c
     spice_warning("client not found %p", client);
 }
 
-static void reds_migrate_channels_seamless(void)
+static void reds_migrate_channels_seamless(RedsState *reds)
 {
     RedClient *client;
 
@@ -2919,7 +2919,7 @@ static void reds_mig_finished(int completed)
     reds->mig_inprogress = TRUE;
 
     if (reds->src_do_seamless_migrate && completed) {
-        reds_migrate_channels_seamless();
+        reds_migrate_channels_seamless(reds);
     } else {
         main_channel_migrate_src_complete(reds->main_channel, completed);
     }
-- 
2.4.3

_______________________________________________
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]