The guest TOD clock should be preserved on migration. Add a test to verify that. To reduce code duplication, move some of the time-related defined from the sck test to the library. Nico Boehr (2): lib/s390x: move TOD clock related functions to library s390x: add migration TOD clock test lib/s390x/asm/time.h | 48 +++++++++++++++++++++++++++++++++++++++++++ s390x/Makefile | 1 + s390x/migration-sck.c | 45 ++++++++++++++++++++++++++++++++++++++++ s390x/sck.c | 32 ----------------------------- s390x/unittests.cfg | 4 ++++ 5 files changed, 98 insertions(+), 32 deletions(-) create mode 100644 s390x/migration-sck.c -- 2.36.1