summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/vmx/x86_ops.h
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-08-02 11:19:30 -0700
committerSean Christopherson <seanjc@google.com>2024-08-22 12:06:56 -0700
commitb848f24bd74a699745c1145e8cb707884d80694e (patch)
treec5abd6dc34e4467cb9ebd2e6d16c981e1c61b906 /arch/x86/kvm/vmx/x86_ops.h
parent74c6c98a598a1fa650f9f8dfb095d66e987ed9cf (diff)
KVM: x86: Rename get_msr_feature() APIs to get_feature_msr()
Rename all APIs related to feature MSRs from get_msr_feature() to get_feature_msr(). The APIs get "feature MSRs", not "MSR features". And unlike kvm_{g,s}et_msr_common(), the "feature" adjective doesn't describe the helper itself. No functional change intended. Link: https://lore.kernel.org/r/20240802181935.292540-6-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'arch/x86/kvm/vmx/x86_ops.h')
-rw-r--r--arch/x86/kvm/vmx/x86_ops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx/x86_ops.h b/arch/x86/kvm/vmx/x86_ops.h
index 9a0304eb847b..eeafd121fb08 100644
--- a/arch/x86/kvm/vmx/x86_ops.h
+++ b/arch/x86/kvm/vmx/x86_ops.h
@@ -56,7 +56,7 @@ bool vmx_has_emulated_msr(struct kvm *kvm, u32 index);
void vmx_msr_filter_changed(struct kvm_vcpu *vcpu);
void vmx_prepare_switch_to_guest(struct kvm_vcpu *vcpu);
void vmx_update_exception_bitmap(struct kvm_vcpu *vcpu);
-int vmx_get_msr_feature(u32 msr, u64 *data);
+int vmx_get_feature_msr(u32 msr, u64 *data);
int vmx_get_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info);
u64 vmx_get_segment_base(struct kvm_vcpu *vcpu, int seg);
void vmx_get_segment(struct kvm_vcpu *vcpu, struct kvm_segment *var, int seg);