summaryrefslogtreecommitdiffstats
path: root/arch/x86/net
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2019-12-20 20:45:09 -0800
committerBorislav Petkov <bp@suse.de>2020-01-13 19:19:32 +0100
commita4d0b2fdbcf75ef6654713c83c316ea3a661ddc3 (patch)
tree3fe066e0bc85f112fcbfd6bcb31026acc5e5c10d /arch/x86/net
parent21bd3467a58ea51ccc0b1d9bcb86dadf1640a002 (diff)
downloadlinux-stable-a4d0b2fdbcf75ef6654713c83c316ea3a661ddc3.tar.gz
linux-stable-a4d0b2fdbcf75ef6654713c83c316ea3a661ddc3.tar.bz2
linux-stable-a4d0b2fdbcf75ef6654713c83c316ea3a661ddc3.zip
KVM: VMX: Use VMX feature flag to query BIOS enabling
Replace KVM's manual checks on IA32_FEAT_CTL with a query on the boot CPU's MSR_IA32_FEAT_CTL and VMX feature flags. The MSR_IA32_FEAT_CTL indicates that IA32_FEAT_CTL has been configured and that dependent features are accurately reflected in cpufeatures, e.g. the VMX flag is now cleared during boot if VMX isn't fully enabled via IA32_FEAT_CTL, including the case where the MSR isn't supported. 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-16-sean.j.christopherson@intel.com
Diffstat (limited to 'arch/x86/net')
0 files changed, 0 insertions, 0 deletions