KVM: selftests: Enable USERFAULTFD
authorMark Brown <broonie@kernel.org>
Thu, 2 Feb 2023 21:01:36 +0000 (21:01 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Mon, 6 Feb 2023 19:35:09 +0000 (19:35 +0000)
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>
tools/testing/selftests/kvm/config

index 63ed533f73d6e82419b281b512cf32cbec100eb2..d011b38e259eafbb9781f915b24de49ab0803c30 100644 (file)
@@ -1,3 +1,4 @@
 CONFIG_KVM=y
 CONFIG_KVM_INTEL=y
 CONFIG_KVM_AMD=y
+CONFIG_USERFAULTFD=y