Skip to content

Commit 8f63aaf

Browse files
Sean Christophersonsuryasaimadhu
authored andcommitted
KVM: VMX: Allow KVM_INTEL when building for Centaur and/or Zhaoxin CPUs
Change the dependency for KVM_INTEL, i.e. KVM w/ VMX, from Intel CPUs to any CPU that supports the IA32_FEAT_CTL MSR and thus VMX functionality. This effectively allows building KVM_INTEL for Centaur and Zhaoxin CPUs. Signed-off-by: Sean Christopherson <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 616c59b commit 8f63aaf

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

arch/x86/kvm/Kconfig

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,11 @@ config KVM
6060
If unsure, say N.
6161

6262
config KVM_INTEL
63-
tristate "KVM for Intel processors support"
64-
depends on KVM
65-
# for perf_guest_get_msrs():
66-
depends on CPU_SUP_INTEL
63+
tristate "KVM for Intel (and compatible) processors support"
64+
depends on KVM && IA32_FEAT_CTL
6765
---help---
68-
Provides support for KVM on Intel processors equipped with the VT
69-
extensions.
66+
Provides support for KVM on processors equipped with Intel's VT
67+
extensions, a.k.a. Virtual Machine Extensions (VMX).
7068

7169
To compile this as a module, choose M here: the module
7270
will be called kvm-intel.

0 commit comments

Comments
 (0)