From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754508AbaLVLYY (ORCPT ); Mon, 22 Dec 2014 06:24:24 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53474 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754400AbaLVLYX (ORCPT ); Mon, 22 Dec 2014 06:24:23 -0500 Message-ID: <5497FF38.3040503@redhat.com> Date: Mon, 22 Dec 2014 12:23:36 +0100 From: Paolo Bonzini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: "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 CC: "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 References: <1418397300-10870-1-git-send-email-feng.wu@intel.com> <1418397300-10870-14-git-send-email-feng.wu@intel.com> <549307A5.3060305@redhat.com> <5494131E.9030505@redhat.com> <549576C7.4030800@redhat.com> <5497E41F.50301@redhat.com> <5497FB50.1080606@redhat.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Paolo