KVM: selftests: Add a test for the KVM_S390_MEM_OP ioctl
authorThomas Huth <thuth@redhat.com>
Thu, 29 Aug 2019 13:07:32 +0000 (15:07 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 29 Aug 2019 14:09:11 +0000 (16:09 +0200)
commitbe6f55a60d28fb31864d3aab011cf4e1fc0dba04
tree3eb5071a682db872c6866340de641079c650a674
parentb4d863c302e65515cc4706d184f1d54e6bbfc5a2
KVM: selftests: Add a test for the KVM_S390_MEM_OP ioctl

Check that we can write and read the guest memory with this s390x
ioctl, and that some error cases are handled correctly.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Link: https://lkml.kernel.org/r/20190829130732.580-1-thuth@redhat.com
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/s390x/memop.c [new file with mode: 0644]