summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-02-02 22:01:36 +0100
committerOliver Upton <oliver.upton@linux.dev>2023-02-06 20:35:09 +0100
commitd2365054781908bd0bd43b08dd471b40db14b6f4 (patch)
treee9948a20d1d01b868c8e898e2951911a92e78960 /tools
parentKVM: selftests: Remove redundant setbuf() (diff)
downloadlinux-d2365054781908bd0bd43b08dd471b40db14b6f4.tar.xz
linux-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')
-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