• Thomas Huth's avatar
    KVM: selftests: Add the sync_regs test for s390x · ee1563f4
    Thomas Huth authored
    The test is an adaption of the same test for x86. Note that there
    are some differences in the way how s390x deals with the kvm_valid_regs
    in struct kvm_run, so some of the tests had to be removed. Also this
    test is not using the ucall() interface on s390x yet (which would need
    some work to be usable on s390x), so it simply drops out of the VM with
    a diag 0x501 breakpoint instead.
    Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
    Message-Id: <20190523164309.13345-8-thuth@redhat.com>
    Signed-off-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
    ee1563f4
sync_regs_test.c 3.87 KB