Alex Williamson c048be5cc9 vfio: Fix MSI-X vector expansion
When new MSI-X vectors are enabled we need to disable MSI-X and
re-enable it with the correct number of vectors.  That means we need
to reprogram the eventfd triggers for each vector.  Prior to f4d45d47
vector->use tracked whether a vector was masked or unmasked and we
could always pick the KVM path when available for unmasked vectors.
Now vfio doesn't track mask state itself and vector->use and virq
remains configured even for masked vectors.  Therefore we need to ask
the MSI-X code whether a vector is masked in order to select the
correct signaling path.  As noted in the comment, MSI relies on
hardware to handle masking.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Cc: qemu-stable@nongnu.org # QEMU 2.1
2014-08-05 13:05:52 -06:00
..
2014-07-11 21:31:55 +03:00
2014-08-04 14:41:53 +01:00
2014-06-23 11:01:24 -04:00
2014-07-11 10:17:02 +02:00
2014-06-30 21:13:30 +02:00
2014-06-27 13:48:26 +02:00
2014-07-01 04:02:53 +02:00
2014-08-05 13:05:52 -06:00
2014-06-29 19:39:43 +03:00
2014-06-27 13:48:22 +02:00
2014-06-30 21:13:30 +02:00
2014-07-22 17:37:25 +02:00
2014-07-08 15:08:03 +02:00
2014-06-30 21:13:30 +02:00