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

Fabiano Rosas posted 2 patches 4 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260109123519.28703-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>
hw/ppc/spapr.c                           |  6 +++
target/ppc/cpu.h                         |  1 +
target/ppc/cpu_init.c                    |  7 +++
target/ppc/machine.c                     | 62 ++++++++++++++++++++++++
tests/functional/ppc64/test_migration.py | 12 +++++
tests/functional/ppc64/test_pseries.py   | 35 +++++++++++++
6 files changed, 123 insertions(+)
[PATCH v3 0/2] ppc: Fix migration issue with quiesced state
Posted by Fabiano Rosas 4 weeks ago
Changes in v3:
- removed extra include
- changed the test to set the machine earlier

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

v2:
https://lore.kernel.org/r/20251217164549.4311-1-farosas@suse.de

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                     | 62 ++++++++++++++++++++++++
 tests/functional/ppc64/test_migration.py | 12 +++++
 tests/functional/ppc64/test_pseries.py   | 35 +++++++++++++
 6 files changed, 123 insertions(+)

-- 
2.51.0