summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/vmx/posted_intr.h
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-01-28 03:51:59 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2022-02-10 21:47:20 +0300
commit58fccda47e4bd8ecced8c317d13411e8d21b89b1 (patch)
tree2394273cac9b284fb07bf80c3680f97da92e7c4e /arch/x86/kvm/vmx/posted_intr.h
parent7ad02ef0da25fd87b2c10e1eb75e02855b506b30 (diff)
downloadlinux-58fccda47e4bd8ecced8c317d13411e8d21b89b1.tar.xz
KVM: VMX: Rename VMX functions to conform to kvm_x86_ops names
Massage VMX's implementation names for kvm_x86_ops to maximize use of kvm-x86-ops.h. Leave cpu_has_vmx_wbinvd_exit() as-is to preserve the cpu_has_vmx_*() pattern used for querying VMCS capabilities. Keep pi_has_pending_interrupt() as vmx_dy_apicv_has_pending_interrupt() does a poor job of describing exactly what is being checked in VMX land. No functional change intended. Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20220128005208.4008533-14-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx/posted_intr.h')
-rw-r--r--arch/x86/kvm/vmx/posted_intr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kvm/vmx/posted_intr.h b/arch/x86/kvm/vmx/posted_intr.h
index eb14e76b84ef..9a45d5c9f116 100644
--- a/arch/x86/kvm/vmx/posted_intr.h
+++ b/arch/x86/kvm/vmx/posted_intr.h
@@ -97,8 +97,8 @@ void vmx_vcpu_pi_put(struct kvm_vcpu *vcpu);
void pi_wakeup_handler(void);
void __init pi_init_cpu(int cpu);
bool pi_has_pending_interrupt(struct kvm_vcpu *vcpu);
-int pi_update_irte(struct kvm *kvm, unsigned int host_irq, uint32_t guest_irq,
- bool set);
+int vmx_pi_update_irte(struct kvm *kvm, unsigned int host_irq,
+ uint32_t guest_irq, bool set);
void vmx_pi_start_assignment(struct kvm *kvm);
#endif /* __KVM_X86_VMX_POSTED_INTR_H */