On Mon, 9 May 2022 14:08:03 +0200 Nico Boehr <nrb@xxxxxxxxxxxxx> wrote: > Upon migration, we expect the CMM page states to be preserved. Add a test which > checks for that. > > The new test gets a new file so the existing cmm test can still run when the > prerequisites for running migration tests aren't given (netcat). Therefore, move I wonder if we are going to have more of these "split" tests. is there a way to make sure migration prerequisites are always present? or rewrite things so that we don't need them? > some definitions to a common header to be able to re-use them. > > Nico Boehr (2): > lib: s390x: add header for CMM related defines > s390x: add cmm migration test > > lib/s390x/asm/cmm.h | 50 +++++++++++++++++++++++++++ > s390x/Makefile | 1 + > s390x/cmm-migration.c | 78 +++++++++++++++++++++++++++++++++++++++++++ > s390x/cmm.c | 25 ++------------ > s390x/unittests.cfg | 4 +++ > 5 files changed, 136 insertions(+), 22 deletions(-) > create mode 100644 lib/s390x/asm/cmm.h > create mode 100644 s390x/cmm-migration.c >