qemu-e2k/hw/i386/kvm
Ido Yariv aa1dd39ca3 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>
2016-06-24 05:13:57 +03:00
..
apic.c qemu-common: push cpu.h inclusion out of qemu-common.h 2016-05-19 16:42:29 +02:00
clock.c qemu-common: push cpu.h inclusion out of qemu-common.h 2016-05-19 16:42:29 +02:00
i8254.c explicitly include linux/kvm.h 2016-05-19 16:42:27 +02:00
i8259.c x86: Clean up includes 2016-01-29 15:07:22 +00:00
ioapic.c x86: Clean up includes 2016-01-29 15:07:22 +00:00
Makefile.objs
pci-assign.c i386: pci-assign: Fix MSI-X table size 2016-06-24 05:13:57 +03:00