From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH v2] kvm-all.c: Move init of irqchip_inject_ioctl out of kvm_irqchip_create() Date: Wed, 15 Aug 2012 15:34:30 -0300 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 Cc: Avi Kivity , Jan Kiszka , qemu-devel@nongnu.org, kvm@vger.kernel.org, patches@linaro.org To: Peter Maydell Return-path: Content-Disposition: inline In-Reply-To: <1345028893-2388-1-git-send-email-peter.maydell@linaro.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.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.