[Qemu-devel] [PATCH 5/5] runstate: Allow user to migrate twice

2011-10-19 Thread Luiz Capitulino
It should be a matter of allowing the transition POSTMIGRATE -> FINISH_MIGRATE, but it turns out that the VM won't do the transition the second time because it's already stopped. So this commit also adds vm_stop_force_state() which performs the transition even if the VM is already stopped. While

Re: [Qemu-devel] [PATCH 5/5] runstate: Allow user to migrate twice

2011-10-14 Thread Paolo Bonzini
On 10/14/2011 07:26 PM, Luiz Capitulino wrote: It should be a matter of allowing the transition POSTMIGRATE -> FINISH_MIGRATE, but it turns out that the VM won't do the transition the second time because it's already stopped. So this commit also adds vm_stop_force_state() which performs the tran

[Qemu-devel] [PATCH 5/5] runstate: Allow user to migrate twice

2011-10-14 Thread Luiz Capitulino
It should be a matter of allowing the transition POSTMIGRATE -> FINISH_MIGRATE, but it turns out that the VM won't do the transition the second time because it's already stopped. So this commit also adds vm_stop_force_state() which performs the transition even if the VM is already stopped. While