summaryrefslogtreecommitdiffstats
path: root/scripts/tracetool/format
diff options
context:
space:
mode:
authorAlex Williamson2014-08-05 21:05:52 +0200
committerAlex Williamson2014-08-05 21:05:52 +0200
commitc048be5cc92ae201c339d46984476c4629275ed6 (patch)
tree36038db6fb1159301daccc8dcd1ecec080849054 /scripts/tracetool/format
parentMerge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20140804'... (diff)
downloadqemu-c048be5cc92ae201c339d46984476c4629275ed6.tar.gz
qemu-c048be5cc92ae201c339d46984476c4629275ed6.tar.xz
qemu-c048be5cc92ae201c339d46984476c4629275ed6.zip
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
Diffstat (limited to 'scripts/tracetool/format')
0 files changed, 0 insertions, 0 deletions