From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: [RFC] create a single workqueue for each vm to update vm irq routing table Date: Tue, 26 Nov 2013 14:50:15 +0200 Message-ID: <20131126125015.GL959@redhat.com> References: <20131126124810.GK959@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: KVM , "qemu-devel@nongnu.org" , "Michael S. Tsirkin" , Eric Blake , Paolo Bonzini , Luonengjun , "Huangweidong (C)" , "Jinxin (F)" , Zanghongyong To: "Zhanghaoyu (A)" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:17204 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756575Ab3KZMuf (ORCPT ); Tue, 26 Nov 2013 07:50:35 -0500 Content-Disposition: inline In-Reply-To: <20131126124810.GK959@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Nov 26, 2013 at 02:48:10PM +0200, Gleb Natapov wrote: > On Tue, Nov 26, 2013 at 12:40:36PM +0000, Zhanghaoyu (A) wrote: > > Hi all, > > > > When guest set irq smp_affinity, VMEXIT occurs, then the vcpu thread will IOCTL return to QEMU from hypervisor, then vcpu thread ask the hypervisor to update the irq routing table, > Why vcpu thread ask the hypervisor to update the irq routing table on > pcpu migration? > Ah, I misread. Guest sets irq smp_affinity not host. -- Gleb. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlI6D-0003jR-92 for qemu-devel@nongnu.org; Tue, 26 Nov 2013 07:50:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlI67-0001Rd-8e for qemu-devel@nongnu.org; Tue, 26 Nov 2013 07:50:41 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlI66-0001RS-QQ for qemu-devel@nongnu.org; Tue, 26 Nov 2013 07:50:35 -0500 Date: Tue, 26 Nov 2013 14:50:15 +0200 From: Gleb Natapov Message-ID: <20131126125015.GL959@redhat.com> References: <20131126124810.GK959@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131126124810.GK959@redhat.com> Subject: Re: [Qemu-devel] [RFC] create a single workqueue for each vm to update vm irq routing table List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Zhanghaoyu (A)" Cc: "Huangweidong (C)" , KVM , "Michael S. Tsirkin" , "Jinxin (F)" , Luonengjun , "qemu-devel@nongnu.org" , Zanghongyong , Paolo Bonzini On Tue, Nov 26, 2013 at 02:48:10PM +0200, Gleb Natapov wrote: > On Tue, Nov 26, 2013 at 12:40:36PM +0000, Zhanghaoyu (A) wrote: > > Hi all, > > > > When guest set irq smp_affinity, VMEXIT occurs, then the vcpu thread will IOCTL return to QEMU from hypervisor, then vcpu thread ask the hypervisor to update the irq routing table, > Why vcpu thread ask the hypervisor to update the irq routing table on > pcpu migration? > Ah, I misread. Guest sets irq smp_affinity not host. -- Gleb.