]> git.baikalelectronics.ru Git - kernel.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)
commit9ee7546b44185cbd0a93700bfabb2bcb6d2f4c73
tree5c6238f3a82c8c31a4387bce835c31cf9bfd1930
parent832b4957fd340f0e21002e437df2936d054f568a
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