[Spice-devel] [RFC PATCH spice 0.8 11/19] server: turn spice_server_migrate_start into a valid call

Yonit Halperin yhalperi at redhat.com
Mon Sep 19 02:47:04 PDT 2011


We will add a qemu call to spice_server_migrate_start when migration starts.
For now, it does nothing, but we may need this notification in the future.

Signed-off-by: Yonit Halperin <yhalperi at redhat.com>
---
 server/reds.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/server/reds.c b/server/reds.c
index a2b2820..39697a4 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -5114,16 +5114,10 @@ SPICE_GNUC_VISIBLE int spice_server_migrate_info(SpiceServer *s, const char* des
 SPICE_GNUC_VISIBLE int spice_server_migrate_start(SpiceServer *s)
 {
     ASSERT(reds == s);
-
-    if (1) {
-        /* seamless doesn't work, fixing needs protocol change. */
-        return -1;
-    }
-
+    red_printf("");
     if (!reds->mig_spice) {
         return -1;
     }
-    reds_mig_started();
     return 0;
 }
 
-- 
1.7.4.4



More information about the Spice-devel mailing list