xemu/hw/i386/kvm
Michael S. Tsirkin 9fbc298a47 pci-assign: limit # of msix vectors
KVM only supports MSIX table size up to 256 vectors,
but some assigned devices support more vectors,
at the moment attempts to assign them fail with EINVAL.

Tweak the MSIX capability exposed to guest to limit table size
to a supported value.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Gonglei <arei.gonglei@huawei.com>
Cc: qemu-stable@nongnu.org
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 639973a474)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2014-07-01 10:57:03 -05:00
..
Makefile.objs hw: move hw/kvm/ to hw/i386/kvm 2013-04-08 18:13:16 +02:00
apic.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
clock.c kvm: Fix compiler warning (clang) 2013-09-20 20:11:32 +04:00
i8254.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
i8259.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
ioapic.c kvm/ioapic: QOM cast cleanup 2013-07-29 21:07:02 +02:00
pci-assign.c pci-assign: limit # of msix vectors 2014-07-01 10:57:03 -05:00