]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: kvm: Check whether SIDA memop fails for normal guests
authorThomas Huth <thuth@redhat.com>
Tue, 15 Feb 2022 07:48:24 +0000 (08:48 +0100)
committerChristian Borntraeger <borntraeger@linux.ibm.com>
Tue, 15 Feb 2022 15:38:12 +0000 (16:38 +0100)
commitbc9bf682a660ca661dfb156775e91c70b37a9d24
treecc60d4c85a4f6a66cb59b9e2926d125754eb236e
parent42c7963f74f75c3296f6f2e6d663929aec2d47fe
selftests: kvm: Check whether SIDA memop fails for normal guests

Commit 67e82ca2c4fd ("KVM: s390: Return error on SIDA memop on normal
guest") fixed the behavior of the SIDA memops for normal guests. It
would be nice to have a way to test whether the current kernel has
the fix applied or not. Thus add a check to the KVM selftests for
these two memops.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20220215074824.188440-1-thuth@redhat.com
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
tools/testing/selftests/kvm/s390x/memop.c