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