[PATCH 06/16] Change reds_mig_switch() 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 6a2277c..da2555a 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -2932,7 +2932,7 @@ static void reds_mig_finished(RedsState *reds, int completed)
     reds_mig_release(reds);
 }
 
-static void reds_mig_switch(void)
+static void reds_mig_switch(RedsState *reds)
 {
     if (!reds->mig_spice) {
         spice_warning("reds_mig_switch called without migrate_info set");
@@ -3978,7 +3978,7 @@ SPICE_GNUC_VISIBLE int spice_server_migrate_switch(SpiceServer *s)
        return 0;
     }
     reds->expect_migrate = FALSE;
-    reds_mig_switch();
+    reds_mig_switch(reds);
     return 0;
 }
 
-- 
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]