Commit 7075f163 authored by Sean Christopherson's avatar Sean Christopherson
Browse files

KVM: x86: Refactor kvm_get_feature_msr() to avoid struct kvm_msr_entry

Refactor kvm_get_feature_msr() to take the components of kvm_msr_entry as
separate parameters, along with a vCPU pointer, i.e. to give it the same
prototype as kvm_{g,s}et_msr_ignored_check().  This will allow using a
common inner helper for handling accesses to "regular" and feature MSRs.

No functional change intended.

Link: https://lore.kernel.org/r/20240802181935.292540-7-seanjc@google.com


Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent b848f24b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment