mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
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:
parent
04a52b4120
commit
6b99dadc4a
1 changed files with 2 additions and 4 deletions
6
vl.c
6
vl.c
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue