aboutsummaryrefslogtreecommitdiff
path: root/include/hw/loader.h
diff options
context:
space:
mode:
authorIdo Yariv <ido@wizery.com>2016-06-18 16:42:05 -0400
committerMichael S. Tsirkin <mst@redhat.com>2016-06-24 05:13:57 +0300
commitaa1dd39ca3074a3bc4ec4c0543c0588ed4dc5472 (patch)
treefd4b18bcb52bd8986c04a112c0213655024006f3 /include/hw/loader.h
parent15b82b1dc59040245f16a24c16825efe8c389050 (diff)
downloadqemu-aa1dd39ca3074a3bc4ec4c0543c0588ed4dc5472.zip
qemu-aa1dd39ca3074a3bc4ec4c0543c0588ed4dc5472.tar.gz
qemu-aa1dd39ca3074a3bc4ec4c0543c0588ed4dc5472.tar.bz2
i386: pci-assign: Fix MSI-X table size
The current code creates a whole page mmio region for the MSI-X table size. However, the page containing the MSI-X table may contain other registers not related to MSI-X. Creating an mmio region for the whole page masks such registers and may break drivers in the guest OS. Since maximal number of entries is known, use that instead to deduce the table size when setting up the mmio region. Signed-off-by: Ido Yariv <ido@wizery.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/loader.h')
0 files changed, 0 insertions, 0 deletions