diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2013-12-06 11:16:40 -0700 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2013-12-09 11:40:30 -0600 |
commit | d90ff19d0a664400232ae062163790937068a0f8 (patch) | |
tree | d525bbfe94981141035c36ccbac894b4d858cf39 /block/qcow2.c | |
parent | 7cfd037403ba34e8ed1ebfa4e7d6abec738e2000 (diff) | |
download | qemu-d90ff19d0a664400232ae062163790937068a0f8.tar.gz |
vfio-pci: Release all MSI-X vectors when disabled
We were relying on msix_unset_vector_notifiers() to release all the
vectors when we disable MSI-X, but this only happens when MSI-X is
still enabled on the device. Perform further cleanup by releasing
any remaining vectors listed as in-use after this call. This caused
a leak of IRQ routes on hotplug depending on how the guest OS prepared
the device for removal.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Cc: qemu-stable@nongnu.org
(cherry picked from commit 3e40ba0faf0822fa78336fe6cd9d677ea9b14f1b)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'block/qcow2.c')
0 files changed, 0 insertions, 0 deletions