Do not disable autostart for live migration

If the user does not want autostart, they can specify -S.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Avi Kivity 2009-08-09 14:39:20 +03:00 committed by Anthony Liguori
parent 04a52b4120
commit 6b99dadc4a

6
vl.c
View File

@ -6040,12 +6040,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) {