xen/pciback: Don't setup an fake IRQ handler for SR-IOV devices.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 16 Feb 2011 20:43:25 +0000 (15:43 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 20 Jul 2011 00:58:34 +0000 (20:58 -0400)
commite17ab35f05cb8b3d19c70454a41ea67207caf484
tree36c82312a06223afa4a1ce6afc9d1f92f3aaa547
parenta0b2fa8ef8fee0493f6c1e2ac08b9e50a629a7c2
xen/pciback: Don't setup an fake IRQ handler for SR-IOV devices.

If we try to setup an fake IRQ handler for legacy interrupts
for devices that only have MSI-X (most if not all SR-IOV cards),
we will fail with this:

pciback[0000:01:10.0]: failed to install fake IRQ handler for IRQ 0! (rc:-38)

Since those cards don't have anything in dev->irq.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xen-pciback/pciback_ops.c