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