* [PATCH -next] KVM: x86: hyper-v: Remove unused inline function kvm_hv_free_pa_page()
@ 2024-08-03 11:32 Yue Haibing
2024-08-05 8:38 ` Vitaly Kuznetsov
2024-08-13 13:29 ` Paolo Bonzini
0 siblings, 2 replies; 3+ messages in thread
From: Yue Haibing @ 2024-08-03 11:32 UTC (permalink / raw)
To: vkuznets, seanjc, pbonzini, tglx, mingo, bp, dave.hansen, x86,
hpa
Cc: kvm, linux-kernel, yuehaibing
There is no caller in tree since introduction in commit b4f69df0f65e ("KVM:
x86: Make Hyper-V emulation optional")
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
arch/x86/kvm/hyperv.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/kvm/hyperv.h b/arch/x86/kvm/hyperv.h
index 923e64903da9..913bfc96959c 100644
--- a/arch/x86/kvm/hyperv.h
+++ b/arch/x86/kvm/hyperv.h
@@ -286,7 +286,6 @@ static inline int kvm_hv_hypercall(struct kvm_vcpu *vcpu)
return HV_STATUS_ACCESS_DENIED;
}
static inline void kvm_hv_vcpu_purge_flush_tlb(struct kvm_vcpu *vcpu) {}
-static inline void kvm_hv_free_pa_page(struct kvm *kvm) {}
static inline bool kvm_hv_synic_has_vector(struct kvm_vcpu *vcpu, int vector)
{
return false;
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH -next] KVM: x86: hyper-v: Remove unused inline function kvm_hv_free_pa_page()
2024-08-03 11:32 [PATCH -next] KVM: x86: hyper-v: Remove unused inline function kvm_hv_free_pa_page() Yue Haibing
@ 2024-08-05 8:38 ` Vitaly Kuznetsov
2024-08-13 13:29 ` Paolo Bonzini
1 sibling, 0 replies; 3+ messages in thread
From: Vitaly Kuznetsov @ 2024-08-05 8:38 UTC (permalink / raw)
To: Yue Haibing, seanjc, pbonzini, tglx, mingo, bp, dave.hansen, x86,
hpa
Cc: kvm, linux-kernel, yuehaibing
Yue Haibing <yuehaibing@huawei.com> writes:
> There is no caller in tree since introduction in commit b4f69df0f65e ("KVM:
> x86: Make Hyper-V emulation optional")
Yea, I tried some history digging but came out empty handed and I have
to admit I have no idea how and when I added this stub. Thanks for the
cleanup!
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
> arch/x86/kvm/hyperv.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/x86/kvm/hyperv.h b/arch/x86/kvm/hyperv.h
> index 923e64903da9..913bfc96959c 100644
> --- a/arch/x86/kvm/hyperv.h
> +++ b/arch/x86/kvm/hyperv.h
> @@ -286,7 +286,6 @@ static inline int kvm_hv_hypercall(struct kvm_vcpu *vcpu)
> return HV_STATUS_ACCESS_DENIED;
> }
> static inline void kvm_hv_vcpu_purge_flush_tlb(struct kvm_vcpu *vcpu) {}
> -static inline void kvm_hv_free_pa_page(struct kvm *kvm) {}
> static inline bool kvm_hv_synic_has_vector(struct kvm_vcpu *vcpu, int vector)
> {
> return false;
--
Vitaly
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH -next] KVM: x86: hyper-v: Remove unused inline function kvm_hv_free_pa_page()
2024-08-03 11:32 [PATCH -next] KVM: x86: hyper-v: Remove unused inline function kvm_hv_free_pa_page() Yue Haibing
2024-08-05 8:38 ` Vitaly Kuznetsov
@ 2024-08-13 13:29 ` Paolo Bonzini
1 sibling, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2024-08-13 13:29 UTC (permalink / raw)
To: Yue Haibing
Cc: vkuznets, seanjc, pbonzini, tglx, mingo, bp, dave.hansen, x86,
hpa, kvm, linux-kernel
Queued, thanks.
Paolo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-08-13 13:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-03 11:32 [PATCH -next] KVM: x86: hyper-v: Remove unused inline function kvm_hv_free_pa_page() Yue Haibing
2024-08-05 8:38 ` Vitaly Kuznetsov
2024-08-13 13:29 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox