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/pci.h | |
parent | de00982e9e14e2d6ba3d148f02c5a1e94deaa985 (diff) |
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 */ |