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

pci_set_irq uses PCI_INTERRUPT_PIN config register
to compute device INTx pin to assert/deassert.

An assert is used to ensure that intx received
from the quest OS corresponds to PCI_INTERRUPT_PIN.

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