mbox series

[kvm-unit-tests,v1,0/3] s390x: test storage keys during migration

Message ID 20221201084642.3747014-1-nrb@linux.ibm.com (mailing list archive)
Headers show
Series s390x: test storage keys during migration | expand

Message

Nico Boehr Dec. 1, 2022, 8:46 a.m. UTC
Add a test which changes storage keys while VM is being migrated.

This series bases on Claudio's new PSW macros ("[PATCH v3 0/2] lib:
s390x: add PSW and PSW_WITH_CUR_MASK macros").

Nico Boehr (3):
  s390x: add library for skey-related functions
  lib: s390x: skey: add seed value for storage keys
  s390x: add storage key test during migration

 lib/s390x/skey.c              |  94 +++++++++++++++++++++++++++++++
 lib/s390x/skey.h              |  42 ++++++++++++++
 s390x/Makefile                |   2 +
 s390x/migration-during-skey.c | 103 ++++++++++++++++++++++++++++++++++
 s390x/migration-skey.c        |  44 ++-------------
 s390x/unittests.cfg           |   5 ++
 6 files changed, 252 insertions(+), 38 deletions(-)
 create mode 100644 lib/s390x/skey.c
 create mode 100644 lib/s390x/skey.h
 create mode 100644 s390x/migration-during-skey.c