From 1ad32e3f44835f9e231d502fdd93a3f627b0b648 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Sun, 9 Aug 2009 14:39:20 +0300 Subject: [PATCH] Do not disable autostart for live migration If the user does not want autostart, they can specify -S. Signed-off-by: Avi Kivity Signed-off-by: Anthony Liguori --- vl.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/vl.c b/vl.c index 4b3bc1154b..ddd03a96f5 100644 --- a/vl.c +++ b/vl.c @@ -6081,12 +6081,10 @@ int main(int argc, char **argv, char **envp) do_loadvm(cur_mon, loadvm); if (incoming) { - autostart = 0; qemu_start_incoming_migration(incoming); - } - - else if (autostart) + } else if (autostart) { vm_start(); + } #ifndef _WIN32 if (daemonize) { -- 2.11.4.GIT