mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
fix broken migration
While fixing migration with -S, commit
89befdd1a6
broke the rest of us. Poor
glommer, with a poor family, spare him his life from this monstruosity.
Since the unconditional vm_start, not autostart was the villain, I'm putting
back autostart. Let me know if you prefer other solutions, it doesn't really matter,
doesn't really matter to me.
Any way the wind blows...
Signed-off-by: Glauber Costa <glommer@redhat.com>
CC: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
fc5d642fca
commit
2bb8c10c91
1 changed files with 3 additions and 1 deletions
4
vl.c
4
vl.c
|
@ -6087,8 +6087,10 @@ int main(int argc, char **argv, char **envp)
|
|||
if (loadvm)
|
||||
do_loadvm(cur_mon, loadvm);
|
||||
|
||||
if (incoming)
|
||||
if (incoming) {
|
||||
autostart = 0;
|
||||
qemu_start_incoming_migration(incoming);
|
||||
}
|
||||
|
||||
if (autostart)
|
||||
vm_start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue