diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-12-20 20:45:09 -0800 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-01-13 19:19:32 +0100 |
commit | a4d0b2fdbcf75ef6654713c83c316ea3a661ddc3 (patch) | |
tree | 3fe066e0bc85f112fcbfd6bcb31026acc5e5c10d /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 21bd3467a58ea51ccc0b1d9bcb86dadf1640a002 (diff) |
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 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions