Re: [PATCH v4 5/7] KVM: VMX: Optimize posted-interrupt delivery for timer fastpath

From: Wanpeng Li
Date: Thu Apr 30 2020 - 19:43:54 EST


On Thu, 30 Apr 2020 at 21:32, Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:
>
> On 28/04/20 08:23, Wanpeng Li wrote:
> > - if (exit_fastpath == EXIT_FASTPATH_REENTER_GUEST &&
> > - kvm_vcpu_exit_request(vcpu))
> > - exit_fastpath = EXIT_FASTPATH_NOP;
> > + if (exit_fastpath == EXIT_FASTPATH_REENTER_GUEST) {
> > + if (!kvm_vcpu_exit_request(vcpu))
> > + vmx_sync_pir_to_irr(vcpu);
> > + else
> > + exit_fastpath = EXIT_FASTPATH_NOP;
> > + }
>
> This part should be in patch 3; not a big deal, I can reorganize that
> myself.

Great, thanks.

Wanpeng