Re: [PATCH v7 17/39] KVM: x86: hyper-v: L2 TLB flush

From: Paolo Bonzini
Date: Tue Jun 21 2022 - 09:01:01 EST


On 6/13/22 15:39, Vitaly Kuznetsov wrote:
- tlb_flush_fifo = kvm_hv_get_tlb_flush_fifo(vcpu);
+ tlb_flush_fifo = kvm_hv_get_tlb_flush_fifo(vcpu, is_guest_mode(vcpu));

Any reason to add this parameter? It is always set to is_guest_mode(vcpu) and, even if it wasn't, I would add the parameter directly in patch 11.

Paolo