hw/vfio: set interrupts using pci irq wrappers
commit68919cace8242363edfe8ff9b9c68b5e58c30db4
authorMarcel Apfelbaum <marcel.a@redhat.com>
Mon, 7 Oct 2013 07:36:38 +0000 (7 10:36 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 14 Oct 2013 14:11:45 +0000 (14 17:11 +0300)
treef3299bff5d8a99115f4173cc02235615f9cdfa19
parent4c89e3e59368584ae6f34fdfce3c698223b8a918
hw/vfio: set interrupts using pci irq wrappers

pci_set_irq and the other pci irq wrappers use
PCI_INTERRUPT_PIN config register to compute device
INTx pin to assert/deassert.

save INTX pin into the config register before calling
pci_set_irq

Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/misc/vfio.c