summaryrefslogtreecommitdiff
path: root/hw/pci.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-06-04 16:56:01 +0200
committerMichael S. Tsirkin <mst@robin.(none)>2012-06-18 10:21:04 +0300
commit393a98924eb00df76231384b86652e1d5f964d67 (patch)
tree895f71570b4fff16634eb246deb1413b0497128b /hw/pci.h
parent80aa796bf38b7ef21daa42673b4711510c450d8a (diff)
downloadqemu-393a98924eb00df76231384b86652e1d5f964d67.tar.gz
qemu-393a98924eb00df76231384b86652e1d5f964d67.tar.bz2
qemu-393a98924eb00df76231384b86652e1d5f964d67.zip
msix: drop unused msix_bar_size, require valid bar_size
No user in sight for msix_bar_size. bar_size for all users is aligned, let's simply require this instead of trying to fix up invalid input. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci.h')
-rw-r--r--hw/pci.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/pci.h b/hw/pci.h
index c3cacce046..3d534e77ae 100644
--- a/hw/pci.h
+++ b/hw/pci.h
@@ -226,8 +226,6 @@ struct PCIDevice {
MemoryRegion msix_mmio;
/* Reference-count for entries actually in use by driver. */
unsigned *msix_entry_used;
- /* Region including the MSI-X table */
- uint32_t msix_bar_size;
/* MSIX function mask set or MSIX disabled */
bool msix_function_masked;
/* Version id needed for VMState */