diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-06-04 16:56:01 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@robin.(none)> | 2012-06-18 10:21:04 +0300 |
commit | 393a98924eb00df76231384b86652e1d5f964d67 (patch) | |
tree | 895f71570b4fff16634eb246deb1413b0497128b /hw/pci.h | |
parent | 80aa796bf38b7ef21daa42673b4711510c450d8a (diff) | |
download | qemu-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.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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 */ |