diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2014-04-28 17:02:21 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-05-13 13:12:40 +0200 |
commit | 639973a4740f38789057744b550df3a175bc49ad (patch) | |
tree | b2ec69fdc803e980319c4458c57b3714baba2f63 /target-i386/svm_helper.c | |
parent | ee11f7a8227bcd9cb8d8141fa8f6a0352f7c0c68 (diff) |
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 'target-i386/svm_helper.c')
0 files changed, 0 insertions, 0 deletions