aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/s390x (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-06-04KVM: selftests: Add the sync_regs test for s390xThomas Huth1-0/+151
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: Thomas Huth <thuth@redhat.com> Message-Id: <20190523164309.13345-8-thuth@redhat.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>