qemu/pci: MSI-X support functions
commit02eb84d0ec97f183ac23ee939403a139e8849b1d
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 21 Jun 2009 16:49:54 +0000 (21 19:49 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 24 Jun 2009 14:09:14 +0000 (24 09:09 -0500)
tree9425e8a576f027b67c5f4b40fdb7762b7c57b753
parentbd4b65ee5e5f750da709ac10c70266876e515c23
qemu/pci: MSI-X support functions

Add functions implementing MSI-X support. First user will be virtio-pci.
Note that platform must set a flag to declare MSI supported: this
is a safety measure to avoid breaking platforms which should support
MSI-X but currently lack this in the interrupt controller emulation.
For PC this will be set by APIC.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Makefile.target
hw/msix.c [new file with mode: 0644]
hw/msix.h [new file with mode: 0644]
hw/pci.h