From: Avi Kivity Date: Sun, 9 Aug 2009 11:39:20 +0000 (+0300) Subject: Do not disable autostart for live migration X-Git-Tag: v0.11.0-rc2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1ad32e3f44835f9e231d502fdd93a3f627b0b648;p=thirdparty%2Fqemu.git 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 --- diff --git a/vl.c b/vl.c index 4b3bc1154b1..ddd03a96f55 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) {