Message ID | 1295415904-11918-20-git-send-email-tamura.yoshiaki@lab.ntt.co.jp (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/migration.c b/migration.c index 11bbdf8..7275f02 100644 --- a/migration.c +++ b/migration.c @@ -45,6 +45,12 @@ int qemu_start_incoming_migration(const char *uri) const char *p; int ret; + /* check ft_mode option */ + p = strstr(uri, "ft_mode"); + if (p && !strcmp(p, "ft_mode")) { + ft_mode = FT_INIT; + } + if (strstart(uri, "tcp:", &p)) ret = tcp_start_incoming_migration(p); #if !defined(WIN32)