[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANRm+Cz_nxVXmBoHU6NQGRGKbK+MWtZ476376AMJtoWvH=Kbgw@mail.gmail.com>
Date: Fri, 1 May 2020 07:43:40 +0800
From: Wanpeng Li <kernellwp@...il.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: LKML <linux-kernel@...r.kernel.org>, kvm <kvm@...r.kernel.org>,
Sean Christopherson <sean.j.christopherson@...el.com>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
Wanpeng Li <wanpengli@...cent.com>,
Jim Mattson <jmattson@...gle.com>,
Joerg Roedel <joro@...tes.org>,
Haiwei Li <lihaiwei@...cent.com>
Subject: Re: [PATCH v4 5/7] KVM: VMX: Optimize posted-interrupt delivery for
timer fastpath
On Thu, 30 Apr 2020 at 21:32, Paolo Bonzini <pbonzini@...hat.com> 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
Powered by blists - more mailing lists