[PATCH V1 0/3] fix migration of suspended runstate

Steve Sistare posted 3 patches 2 years, 7 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
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(-)
[PATCH V1 0/3] fix migration of suspended runstate
Posted by Steve Sistare 2 years, 7 months ago
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