summary refs log tree commit diff stats
path: root/hw/pci.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-08-08 16:09:26 +0300
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-08 10:22:30 -0500
commit95524ae8dc8f06da0d6ba37703038238e3b27066 (patch)
tree9b050ccb65a7cb8a65f3746aaec401304a996ce9 /hw/pci.h
parentde00982e9e14e2d6ba3d148f02c5a1e94deaa985 (diff)
downloadfocaccia-qemu-95524ae8dc8f06da0d6ba37703038238e3b27066.tar.gz
focaccia-qemu-95524ae8dc8f06da0d6ba37703038238e3b27066.zip
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/pci.h')
-rw-r--r--hw/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci.h b/hw/pci.h
index 928e96c2dd..a95e2ad726 100644
--- a/hw/pci.h
+++ b/hw/pci.h
@@ -176,7 +176,7 @@ struct PCIDevice {
     /* Space to store MSIX table */
     uint8_t *msix_table_page;
     /* MMIO index used to map MSIX table and pending bit entries. */
-    int msix_mmio_index;
+    MemoryRegion msix_mmio;
     /* Reference-count for entries actually in use by driver. */
     unsigned *msix_entry_used;
     /* Region including the MSI-X table */