]> git.proxmox.com Git - qemu.git/commit
hw: set interrupts using pci irq wrappers
authorMarcel Apfelbaum <marcel.a@redhat.com>
Mon, 7 Oct 2013 07:36:39 +0000 (10:36 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 14 Oct 2013 14:11:45 +0000 (17:11 +0300)
commit9e64f8a3fcc88a508990a62ecc5a1269e41272ad
treecc9461940fb228d4b0e8cf9b945785b374a5da41
parent68919cace8242363edfe8ff9b9c68b5e58c30db4
hw: 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.

An irq is allocated using pci_allocate_irq wrapper
only if is needed by non pci devices.

Removed irq related fields from state if not used anymore.

Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
26 files changed:
hw/audio/ac97.c
hw/audio/es1370.c
hw/audio/intel-hda.c
hw/block/nvme.c
hw/char/serial-pci.c
hw/char/tpci200.c
hw/display/qxl.c
hw/ide/cmd646.c
hw/ide/ich.c
hw/isa/vt82c686.c
hw/misc/ivshmem.c
hw/net/e1000.c
hw/net/eepro100.c
hw/net/ne2000.c
hw/net/pcnet-pci.c
hw/net/rtl8139.c
hw/pci/shpc.c
hw/scsi/esp-pci.c
hw/scsi/lsi53c895a.c
hw/scsi/megasas.c
hw/scsi/vmw_pvscsi.c
hw/usb/hcd-ehci-pci.c
hw/usb/hcd-ohci.c
hw/usb/hcd-uhci.c
hw/usb/hcd-xhci.c
hw/virtio/virtio-pci.c