From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1iyN-0007qU-2j for qemu-devel@nongnu.org; Wed, 15 Aug 2012 15:09:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1iyL-0001GS-PO for qemu-devel@nongnu.org; Wed, 15 Aug 2012 15:09:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60279) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1iyL-0001Fw-HY for qemu-devel@nongnu.org; Wed, 15 Aug 2012 15:09:41 -0400 Date: Wed, 15 Aug 2012 15:34:13 -0300 From: Marcelo Tosatti Message-ID: <20120815183412.GD21271@amt.cnet> References: <1345028893-2388-1-git-send-email-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1345028893-2388-1-git-send-email-peter.maydell@linaro.org> Subject: Re: [Qemu-devel] [PATCH v2] kvm-all.c: Move init of irqchip_inject_ioctl out of kvm_irqchip_create() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , b@amt.cnet Cc: Avi Kivity , Jan Kiszka , qemu-devel@nongnu.org, kvm@vger.kernel.org, patches@linaro.org On Wed, Aug 15, 2012 at 12:08:13PM +0100, Peter Maydell wrote: > Move the init of the irqchip_inject_ioctl field of KVMState out of > kvm_irqchip_create() and into kvm_init(), so that kvm_set_irq() > can be used even when no irqchip is created (for architectures > that support async interrupt notification even without an in > kernel irqchip). > > Signed-off-by: Peter Maydell > --- > Changes v1->v2: move whe whole chunk of init code, for both > KVM_IRQ_LINE and KVM_IRQ_LINE_STATUS possibilities. > > kvm-all.c | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) Applied, thanks.