]> asedeno.scripts.mit.edu Git - linux.git/commit
KVM: VMX: Allow KVM_INTEL when building for Centaur and/or Zhaoxin CPUs
authorSean Christopherson <sean.j.christopherson@intel.com>
Sat, 21 Dec 2019 04:45:13 +0000 (20:45 -0800)
committerBorislav Petkov <bp@suse.de>
Mon, 13 Jan 2020 18:35:33 +0000 (19:35 +0100)
commit8f63aaf5c493c6502a058585cdfa3c71cdf8c44a
tree5c6238f3a82c8c31a4387bce835c31cf9bfd1930
parent616c59b52342b0370ab822ce88fa0ff7f3671e4a
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 <sean.j.christopherson@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20191221044513.21680-20-sean.j.christopherson@intel.com
arch/x86/kvm/Kconfig