Skip to content

ppc: Fix migration issue with quiesced state

Fabiano Rosas qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 5 repliesIn review
  2. v22 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- removed extra include
- changed the test to set the machine earlier

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2target/ppc: Fix env->quiesced migrationhw/ppc/spapr.c target/ppc/cpu.h target/ppc/cpu_init.c +1 more+76 -02 replies
2/2tests/functional: Add a OS level migration test for pseriestests/functional/ppc64/test_migration.py tests/functional/ppc64/test_pseries.py+47 -03 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchThomas HuthChinmay RathHarsh Prateek BoraPrasad Pandit
1/2A-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v3 thread

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

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/[email protected]

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/[email protected]

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(+)
Signature · 1 line
2.51.0