[PATCH v2 0/2] ppc: Fix migration issue with quiesced state

Fabiano Rosas posted 2 patches 1 month, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251217164549.4311-1-farosas@suse.de
Maintainers: Nicholas Piggin <npiggin@gmail.com>, Harsh Prateek Bora <harshpb@linux.ibm.com>, Chinmay Rath <rathc@linux.ibm.com>, Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>
There is a newer version of this series
hw/ppc/spapr.c                           |  6 +++
target/ppc/cpu.h                         |  1 +
target/ppc/cpu_init.c                    |  7 +++
target/ppc/machine.c                     | 63 ++++++++++++++++++++++++
tests/functional/ppc64/test_migration.py | 12 +++++
tests/functional/ppc64/test_pseries.py   | 35 +++++++++++++
6 files changed, 124 insertions(+)
[PATCH v2 0/2] ppc: Fix migration issue with quiesced state
Posted by Fabiano Rosas 1 month, 3 weeks ago
A while back, Fabian reported two issues with migration on ppc64le,
one of which was already fixed. There remains this one from the
previous series:

pseries migration causes a guest hang after migration due to a new
variable used to track the stopped state of vcpus, which is not
migrated. Fix is to migrate the new variable. To avoid breaking
backward migration, a compat property is added. For forward migration,
a heuritics based on the known QEMU code is used.

Thanks

CI run: https://gitlab.com/farosas/qemu/-/pipelines/2220496446

v1:
https://lore.kernel.org/r/20250819223905.2247-1-farosas@suse.de

Fabiano Rosas (2):
  target/ppc: Fix env->quiesced migration
  tests/functional: Add a OS level migration test for pseries

 hw/ppc/spapr.c                           |  6 +++
 target/ppc/cpu.h                         |  1 +
 target/ppc/cpu_init.c                    |  7 +++
 target/ppc/machine.c                     | 63 ++++++++++++++++++++++++
 tests/functional/ppc64/test_migration.py | 12 +++++
 tests/functional/ppc64/test_pseries.py   | 35 +++++++++++++
 6 files changed, 124 insertions(+)

-- 
2.51.0