]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
migration: go to paused state after finishing incoming migration with -S
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Oct 2012 14:45:24 +0000 (16:45 +0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Wed, 24 Oct 2012 13:27:33 +0000 (11:27 -0200)
commit29ed72f15a4c8fd3ac106d874f76cc27b654fd25
tree6551a732b9cc37c5c442600cc230e3f29599877d
parent1e9981465f05a0f103d7e09afd975c9c0ff6d132
migration: go to paused state after finishing incoming migration with -S

At the end of migration the machine has started already, and cannot be
destroyed without losing the guest's data.  Hence, prelaunch is the
wrong state.  Go to the paused state instead.  QEMU would reach that
state anyway (after running the guest for the blink of an eye) if the
"stop" command had been received after the start of migration.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
migration.c
vl.c