summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-02-02 21:01:36 +0000
committerOliver Upton <oliver.upton@linux.dev>2023-02-06 19:35:09 +0000
commitd2365054781908bd0bd43b08dd471b40db14b6f4 (patch)
treee9948a20d1d01b868c8e898e2951911a92e78960 /tools/testing/selftests/kvm
parent6043829fdb714f050ba5117044dbd1384865286c (diff)
downloadlinux-stable-d2365054781908bd0bd43b08dd471b40db14b6f4.tar.gz
linux-stable-d2365054781908bd0bd43b08dd471b40db14b6f4.tar.bz2
linux-stable-d2365054781908bd0bd43b08dd471b40db14b6f4.zip
KVM: selftests: Enable USERFAULTFD
The page_fault_test KVM selftest requires userfaultfd but the config fragment for the KVM selftests does not enable it, meaning that those tests are skipped in CI systems that rely on appropriate settings in the config fragments except on S/390 which happens to have it in defconfig. Enable the option in the config fragment so that the tests get run. Signed-off-by: Mark Brown <broonie@kernel.org> Reviewed-by: Sean Christopherson <seanjc@google.com> Link: https://lore.kernel.org/r/20230202-kvm-selftest-userfaultfd-v1-1-8186ac5a33a5@kernel.org Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'tools/testing/selftests/kvm')
-rw-r--r--tools/testing/selftests/kvm/config1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/kvm/config b/tools/testing/selftests/kvm/config
index 63ed533f73d6..d011b38e259e 100644
--- a/tools/testing/selftests/kvm/config
+++ b/tools/testing/selftests/kvm/config
@@ -1,3 +1,4 @@
CONFIG_KVM=y
CONFIG_KVM_INTEL=y
CONFIG_KVM_AMD=y
+CONFIG_USERFAULTFD=y