Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755042AbaLVOM6 (ORCPT ); Mon, 22 Dec 2014 09:12:58 -0500 Received: from mga09.intel.com ([134.134.136.24]:35979 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754810AbaLVOM5 (ORCPT ); Mon, 22 Dec 2014 09:12:57 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,624,1413270000"; d="scan'208";a="627719192" Date: Mon, 22 Dec 2014 22:13:18 +0800 From: Yong Wang To: Paolo Bonzini 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 Subject: Re: [v3 13/26] KVM: Define a new interface kvm_find_dest_vcpu() for VT-d PI 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 Content-Disposition: inline In-Reply-To: <5497FF38.3040503@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/