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 | 75f6d4b59c94deff9f799a1a9cc7fe425754eb60 (patch) | |
tree | 9b050ccb65a7cb8a65f3746aaec401304a996ce9 /hw/pci.h | |
parent | 39a53c83c71f52752cdc0f999fd2caca6e186226 (diff) | |
download | qemu-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |