]> git.proxmox.com Git - qemu.git/commit
kvm-all.c: Move init of irqchip_inject_ioctl out of kvm_irqchip_create()
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 15 Aug 2012 11:08:13 +0000 (12:08 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 11 Sep 2012 21:15:15 +0000 (18:15 -0300)
commit8732fbd2afce18afc429da2ad76df7c48b4bac4b
treea48cb0fa41deab8919449d60332888e782996e00
parent2879636d55312b5391ec46c7dee5d3a07714c222
kvm-all.c: Move init of irqchip_inject_ioctl out of kvm_irqchip_create()

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 <peter.maydell@linaro.org>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
kvm-all.c