summaryrefslogtreecommitdiff
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
commit75f6d4b59c94deff9f799a1a9cc7fe425754eb60 (patch)
tree9b050ccb65a7cb8a65f3746aaec401304a996ce9 /hw/pci.h
parent39a53c83c71f52752cdc0f999fd2caca6e186226 (diff)
downloadqemu-75f6d4b59c94deff9f799a1a9cc7fe425754eb60.tar.gz
qemu-75f6d4b59c94deff9f799a1a9cc7fe425754eb60.tar.bz2
qemu-75f6d4b59c94deff9f799a1a9cc7fe425754eb60.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 */