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 -- 2.36.1