From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yong Wang Subject: Re: [v3 13/26] KVM: Define a new interface kvm_find_dest_vcpu() for VT-d PI Date: Mon, 22 Dec 2014 22:13:18 +0800 Message-ID: <20141222141318.GA12171@ywang-linux> References: <5494131E.9030505@redhat.com> <549576C7.4030800@redhat.com> <5497E41F.50301@redhat.com> <5497FB50.1080606@redhat.com> <5497FF38.3040503@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Wu, Feng" , "Zhang, Yang Z" , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "x86@kernel.org" , Gleb Natapov , "dwmw2@infradead.org" , "joro@8bytes.org" , Alex Williamson , Jiang Liu , "iommu@lists.linux-foundation.org" , "linux-kernel@vger.kernel.org" , KVM list , Eric Auger To: Paolo Bonzini Return-path: Content-Disposition: inline In-Reply-To: <5497FF38.3040503@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Mon, Dec 22, 2014 at 12:23:36PM +0100, Paolo Bonzini wrote: > > > On 22/12/2014 12:17, Wu, Feng wrote: > >> Yes, and those need not be accelerated. But what if you set > >> affinity to a single CPU? > > > > How do I set affinity to a single CPU if guest configure a lowest > > priority interrupt? Thanks a lot! > > I mean if the guest (via irqbalance and /proc/irq/) configures affinity > to a single vCPU. In that case, you can use PI. > The problem is we still need to support PI with lowest priority delivery mode even if guest does not configure irq affinity via /proc/irq/. Don't we? Thanks -Yong