]> Git Repo - qemu.git/commit - cpus.c
runstate: Allow user to migrate twice
authorLuiz Capitulino <[email protected]>
Fri, 14 Oct 2011 14:18:09 +0000 (11:18 -0300)
committerLuiz Capitulino <[email protected]>
Wed, 19 Oct 2011 12:48:57 +0000 (10:48 -0200)
commit8a9236f1d2e91ddd31e3eeae8fe27392c07324a9
tree8d47b900a239c9183f7ce5921a6b9e5b3d52ea35
parentc370f09dba0f0d92e0e8127e9e444f58e9332448
runstate: Allow user to migrate twice

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 there also allow other states to migrate.

Signed-off-by: Luiz Capitulino <[email protected]>
cpus.c
migration.c
sysemu.h
vl.c
This page took 0.02679 seconds and 4 git commands to generate.