Re: [RESEND PATCH v2] KVM: SVM: Flush Hyper-V TLB when required

From: Paolo Bonzini
Date: Mon Mar 27 2023 - 10:13:07 EST


Split svm_flush_tlb_current() into separate callbacks for the 3 cases
(guest/all/current), and issue the required Hyper-V hypercall when a
Hyper-V TLB flush is needed. The most important case where the TLB flush
was missing is when loading a new PGD, which is followed by what is now
svm_flush_tlb_current().

Queued, thanks. I changed the return value to -EOPNOTSUPP.

Paolo