Skip to content

s390x: test CMM during migration

Nico Boehr kvm 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest1 patch 1 replyIn review
  2. v51 patch 3 repliesSuperseded
  3. v42 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v32 patches2 repliesSuperseded
v22 patches8 repliesSuperseded
v12 patches5 repliesSuperseded

Changes in v6 from the cover letter

---
* actually commit changes which were missing in v5, sorry :-(

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1s390x: add CMM test during migrations390x/migration-cmm.c s390x/unittests.cfg+240 -331 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchClaudio Imbrenda
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [kvm-unit-tests PATCH v6 0/1] s390x: test CMM during migration

v5->v6:
---
* actually commit changes which were missing in v5, sorry :-(

v4->v5:
---
* merge migration-during-cmm and migration-cmm into one file and remove the cmm library

v3->v4:
---
* rebase on top of Claudio's series

    [kvm-unit-tests PATCH v3 0/2] lib: s390x: add PSW and
    PSW_WITH_CUR_MASK macros
    https://lore.kernel.org/kvm/[email protected]/

* switch cmm.h to system includes
* move const qualifier before struct keyword

v2->v3:
---
* make allowed_essa_state_masks static (thanks Thomas)
* change several variables to unsigned (thanks Claudio)
* remove unneeded assignment (thanks Claudio)
* fix line length (thanks Claudio)
* fix some spellings, line wraps (thanks Thomas)
* remove unneeded goto (thanks Thomas)
* add migrate_once (thanks Claudio)
I introduce migrate_once() only in migration-during-cmm.c for now, but I plan to send a future patch to move it to the library.
* add missing READ_ONCE (thanks Claudio)

v1->v2:
---
* cmm lib: return struct instead of passing in a pointer (thanks Claudio)
* cmm lib: remove get_page_addr() (thanks Claudio)
* cmm lib: print address of mismatch (thanks Claudio)
* cmm lib: misc comments reworked, added and variables renamed
* make sure page states change on every iteration (thanks Claudio)
* add WRITE_ONCE even when not strictly needed (thanks Claudio)

Add a test which changes CMM page states while VM is being migrated.

Nico Boehr (1):
s390x: add CMM test during migration

 s390x/migration-cmm.c | 258 +++++++++++++++++++++++++++++++++++++-----
 s390x/unittests.cfg   |  15 ++-
 2 files changed, 240 insertions(+), 33 deletions(-)
Signature · 1 line
2.36.1