mbox series

[kvm-unit-tests,v1,0/2] s390x: Add migration test for guest TOD clock

Message ID 20220826084944.19466-1-nrb@linux.ibm.com (mailing list archive)
Headers show
Series s390x: Add migration test for guest TOD clock | expand

Message

Nico Boehr Aug. 26, 2022, 8:49 a.m. UTC
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