diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2013-01-06 21:30:31 -0700 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2013-01-09 12:11:16 +0200 |
commit | feb9a2ab4b0260d8d680a7ffd25063dafc7ec628 (patch) | |
tree | 12fab7dbe07733955d3f851299c11015c1b65ca1 /hw/pci | |
parent | 5c03a2542fbe1a275fe3dd7ebd48a6a283b249ed (diff) | |
download | qemu-feb9a2ab4b0260d8d680a7ffd25063dafc7ec628.zip qemu-feb9a2ab4b0260d8d680a7ffd25063dafc7ec628.tar.gz qemu-feb9a2ab4b0260d8d680a7ffd25063dafc7ec628.tar.bz2 |
pci-assign: Enable MSIX on device to match guest
When a guest enables MSIX on a device we evaluate the MSIX vector
table, typically find no unmasked vectors and don't switch the device
to MSIX mode. This generally works fine and the device will be
switched once the guest enables and therefore unmasks a vector.
Unfortunately some drivers enable MSIX, then use interfaces to send
commands between VF & PF or PF & firmware that act based on the host
state of the device. These therefore may break when MSIX is managed
lazily. This change re-enables the previous test used to enable MSIX
(see qemu-kvm a6b402c9), which basically guesses whether a vector
will be used based on the data field of the vector table.
Cc: qemu-stable@nongnu.org
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci')
0 files changed, 0 insertions, 0 deletions