Skip to content
Commit 2d6cd686 authored by Sean Christopherson's avatar Sean Christopherson
Browse files

KVM: VMX: Move MSR_IA32_FEAT_CTL.LOCKED check into "is valid" helper



Move the check on IA32_FEATURE_CONTROL being locked, i.e. read-only from
the guest, into the helper to check the overall validity of the incoming
value.  Opportunistically rename the helper to make it clear that it
returns a bool.

No functional change intended.

Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220607232353.3375324-3-seanjc@google.com
parent d2a00af2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment