summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/Kconfig
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2020-03-06 14:49:56 +0300
committerIngo Molnar <mingo@kernel.org>2020-03-06 14:49:56 +0300
commit1b10d388d094bb32129060236add6f50b204a69d (patch)
tree08272a4d89833d139e615b07675f95e403cdddbd /arch/x86/kvm/Kconfig
parenta0f03b617c3b2644d3d47bf7d9e60aed01bd5b10 (diff)
parent8b614cb8f1dcac8ca77cf4dd85f46ef3055f8238 (diff)
downloadlinux-1b10d388d094bb32129060236add6f50b204a69d.tar.xz
Merge branch 'linus' into sched/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kvm/Kconfig')
-rw-r--r--arch/x86/kvm/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig
index 991019d5eee1..1bb4927030af 100644
--- a/arch/x86/kvm/Kconfig
+++ b/arch/x86/kvm/Kconfig
@@ -59,6 +59,19 @@ config KVM
If unsure, say N.
+config KVM_WERROR
+ bool "Compile KVM with -Werror"
+ # KASAN may cause the build to fail due to larger frames
+ default y if X86_64 && !KASAN
+ # We use the dependency on !COMPILE_TEST to not be enabled
+ # blindly in allmodconfig or allyesconfig configurations
+ depends on (X86_64 && !KASAN) || !COMPILE_TEST
+ depends on EXPERT
+ help
+ Add -Werror to the build flags for (and only for) i915.ko.
+
+ If in doubt, say "N".
+
config KVM_INTEL
tristate "KVM for Intel (and compatible) processors support"
depends on KVM && IA32_FEAT_CTL