diff options
| author | Sean Christopherson <seanjc@google.com> | 2024-08-02 11:19:31 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2024-08-22 12:07:35 -0700 |
| commit | 7075f163615072a74bae7c5344210adec5f9ea2a (patch) | |
| tree | 63bb7dd6f2c5f566b8007a18b980005230b96bd1 /lib/debugobjects.c | |
| parent | b848f24bd74a699745c1145e8cb707884d80694e (diff) | |
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: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
