diff mbox

[19/19] migration: add a parser to accept FT migration incoming mode.

Message ID 1297162901-2629-20-git-send-email-tamura.yoshiaki@lab.ntt.co.jp (mailing list archive)
State New, archived
Headers show

Commit Message

Yoshiaki Tamura Feb. 8, 2011, 11:01 a.m. UTC
None
diff mbox

Patch

diff --git a/migration.c b/migration.c
index 9d2abff..4dc02a2 100644
--- a/migration.c
+++ b/migration.c
@@ -48,6 +48,12 @@  int qemu_start_incoming_migration(const char *uri)
     const char *p;
     int ret;
 
+    /* check ft_mode (Kemari protocol) */
+    if (strstart(uri, "kemari:", &p)) {
+        ft_mode = FT_INIT;
+        uri = p;
+    }
+
     if (strstart(uri, "tcp:", &p))
         ret = tcp_start_incoming_migration(p);
 #if !defined(WIN32)