Commit 8f63aaf5 authored by Sean Christopherson's avatar Sean Christopherson Committed by Borislav Petkov

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: default avatarSean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20191221044513.21680-20-sean.j.christopherson@intel.com
parent 616c59b5
...@@ -60,13 +60,11 @@ config KVM ...@@ -60,13 +60,11 @@ config KVM
If unsure, say N. If unsure, say N.
config KVM_INTEL config KVM_INTEL
tristate "KVM for Intel processors support" tristate "KVM for Intel (and compatible) processors support"
depends on KVM depends on KVM && IA32_FEAT_CTL
# for perf_guest_get_msrs():
depends on CPU_SUP_INTEL
---help--- ---help---
Provides support for KVM on Intel processors equipped with the VT Provides support for KVM on processors equipped with Intel's VT
extensions. extensions, a.k.a. Virtual Machine Extensions (VMX).
To compile this as a module, choose M here: the module To compile this as a module, choose M here: the module
will be called kvm-intel. will be called kvm-intel.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment