]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: selftests: Add error memop tests
authorJanis Schoetterl-Glausch <scgl@linux.ibm.com>
Tue, 8 Mar 2022 12:58:41 +0000 (13:58 +0100)
committerChristian Borntraeger <borntraeger@linux.ibm.com>
Mon, 14 Mar 2022 15:12:27 +0000 (16:12 +0100)
commit9a50822ad258f524e8a1393e8c02e8cd90978e24
tree42011c164a223c65038ad3d4b2e7044cc2115ccb
parentc1d84c7e8650cdb99425bc7cd6853194dd8fd5a4
KVM: s390: selftests: Add error memop tests

Test that errors occur if key protection disallows access, including
tests for storage and fetch protection override. Perform tests for both
logical vcpu and absolute vm ioctls.
Also extend the existing tests to the vm ioctl.

Signed-off-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com>
Link: https://lore.kernel.org/r/20220308125841.3271721-6-scgl@linux.ibm.com
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
tools/testing/selftests/kvm/s390x/memop.c