diff options
author | Avi Kivity <avi@redhat.com> | 2011-08-08 16:09:26 +0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-08 10:22:30 -0500 |
commit | 95524ae8dc8f06da0d6ba37703038238e3b27066 (patch) | |
tree | 9b050ccb65a7cb8a65f3746aaec401304a996ce9 /hw/virtio-pci.h | |
parent | de00982e9e14e2d6ba3d148f02c5a1e94deaa985 (diff) | |
download | qemu-95524ae8dc8f06da0d6ba37703038238e3b27066.zip qemu-95524ae8dc8f06da0d6ba37703038238e3b27066.tar.gz qemu-95524ae8dc8f06da0d6ba37703038238e3b27066.tar.bz2 |
msix: convert to memory API
The msix table is defined as a subregion, to allow for a BAR that
mixes device specific regions with the msix table.
Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/virtio-pci.h')
-rw-r--r-- | hw/virtio-pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/virtio-pci.h b/hw/virtio-pci.h index 5af1c8c..14c10f7 100644 --- a/hw/virtio-pci.h +++ b/hw/virtio-pci.h @@ -22,6 +22,7 @@ typedef struct { PCIDevice pci_dev; VirtIODevice *vdev; MemoryRegion bar; + MemoryRegion msix_bar; uint32_t flags; uint32_t class_code; uint32_t nvectors; |