Re: [PATCH v5 7/7] KVM: SVM: hyper-v: Direct Virtual Flush support

From
Paolo Bonzini <pbonzini@redhat.com>
Date
2021-06-10 15:17:03
Also in
kvm, lkml
Reply to
Vitaly Kuznetsov, 2021-06-10
On 10/06/21 13:16, Vitaly Kuznetsov wrote:
quoted
+int hv_enable_direct_tlbflush(struct kvm_vcpu *vcpu)
+{
I would've avoided re-using 'hv_enable_direct_tlbflush()' name which we
already have in vmx. In fact, in the spirit of this patch, I'd suggest
we create arch/x86/kvm/vmx/vmx_onhyperv.c and move the existing
hv_enable_direct_tlbflush() there. We can then re-name it to e.g.

vmx_enable_hv_direct_tlbflush()

so the one introduced by this patch will be

svm_enable_hv_direct_tlbflush()
I did the rename, and agree with creating a similar file that is split off vmx.c.

Paolo
Thread (25 messages) 25 messages, 7 authors, last reply 2025-09-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help