Migration of a guest in the suspended runstate is broken.
The incoming migration code automatically tries to wake the guest,
which IMO is wrong -- the guest should end migration in the same
runstate it started. Further, the automatic wakeup fails. The guest
appears to be running, but is not. See the commit messages for
the details.
Steve Sistare (3):
vl: start on wakeup request
migration: fix suspended runstate
tests/qtest: live migration suspended state
include/sysemu/runstate.h | 1 +
migration/migration.c | 11 +++-----
softmmu/runstate.c | 16 +++++++++++-
tests/migration/i386/Makefile | 5 ++--
tests/migration/i386/a-b-bootblock.S | 49 +++++++++++++++++++++++++++++++++---
tests/migration/i386/a-b-bootblock.h | 22 ++++++++++------
tests/qtest/migration-helpers.c | 2 +-
tests/qtest/migration-test.c | 31 +++++++++++++++++++++--
8 files changed, 112 insertions(+), 25 deletions(-)
--
1.8.3.1