aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2019-12-20 20:45:09 -0800
committerBorislav Petkov <[email protected]>2020-01-13 19:19:32 +0100
commita4d0b2fdbcf75ef6654713c83c316ea3a661ddc3 (patch)
tree3fe066e0bc85f112fcbfd6bcb31026acc5e5c10d /scripts/bpf_helpers_doc.py
parent21bd3467a58ea51ccc0b1d9bcb86dadf1640a002 (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 <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions