KVM: x86: Disable KVM_INTEL_PROVE_VE by default
authorSean Christopherson <seanjc@google.com>
Sat, 18 May 2024 00:04:30 +0000 (17:04 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 May 2024 16:33:15 +0000 (12:33 -0400)
commit6af6142e3a62efd6074905e4a94d64956a3f4b7c
tree96647050bd6979be53ec22c1a80355e5c04cd957
parenta5dc0c9b557573315633bc78bacf8f548352f95b
KVM: x86: Disable KVM_INTEL_PROVE_VE by default

Disable KVM's "prove #VE" support by default, as it provides no functional
value, and even its sanity checking benefits are relatively limited.  I.e.
it should be fully opt-in even on debug kernels, especially since EPT
Violation #VE suppression appears to be buggy on some CPUs.

Opportunistically add a line in the help text to make it abundantly clear
that KVM_INTEL_PROVE_VE should never be enabled in a production
environment.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-ID: <20240518000430.1118488-10-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/Kconfig