spapr-pci: enable irqfd for INTx
commit5cc7a967e9de8c7b16c15aee4cb9f5bfcf0c5989
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Thu, 26 Sep 2013 06:18:48 +0000 (26 16:18 +1000)
committerAlexander Graf <agraf@suse.de>
Fri, 25 Oct 2013 21:25:47 +0000 (25 23:25 +0200)
tree2a685a99e349179e7a777366fc4ad9ace414e6c9
parent9554233c9b8fe7d94dfa53db09ce3d186f2e8b9e
spapr-pci: enable irqfd for INTx

This enables IRQFD for LSI (level triggered INTx interrupts) by adding
a spapr_route_intx_pin_to_irq() callback to the sPAPR PCI host bus. This
callback is called to know the global interrupt number to link resampling fd
with IRQFD's fd in KVM.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr_pci.c