summary refs log tree commit diff stats
path: root/hw/misc/mst_fpga.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-04-28 17:02:21 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2014-05-13 13:12:40 +0200
commit639973a4740f38789057744b550df3a175bc49ad (patch)
treeb2ec69fdc803e980319c4458c57b3714baba2f63 /hw/misc/mst_fpga.c
parentee11f7a8227bcd9cb8d8141fa8f6a0352f7c0c68 (diff)
downloadfocaccia-qemu-639973a4740f38789057744b550df3a175bc49ad.tar.gz
focaccia-qemu-639973a4740f38789057744b550df3a175bc49ad.zip
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>
Diffstat (limited to 'hw/misc/mst_fpga.c')
0 files changed, 0 insertions, 0 deletions