diff options
| author | Sean Christopherson <seanjc@google.com> | 2022-06-07 23:23:52 +0000 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2022-11-30 16:29:53 -0800 |
| commit | 2d6cd68636d60822219074b7c1d0bfe41321f106 (patch) | |
| tree | 7ca042876e82396ca861f57995b44494367a74de /lib/memory-notifier-error-inject.c | |
| parent | d2a00af2061db863890e32a4a99a6f82c330df1f (diff) | |
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: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220607232353.3375324-3-seanjc@google.com
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
