summaryrefslogtreecommitdiff
path: root/hw/misc/eccmemctl.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2013-12-06 11:16:40 -0700
committerAlex Williamson <alex.williamson@redhat.com>2013-12-06 11:16:40 -0700
commit3e40ba0faf0822fa78336fe6cd9d677ea9b14f1b (patch)
tree94f7b6e38cdc19275a986337d42814e996a34f89 /hw/misc/eccmemctl.c
parentb3ebc10c373ed5922d4bdb5076fd0e9fd7ff8056 (diff)
downloadqemu-3e40ba0faf0822fa78336fe6cd9d677ea9b14f1b.tar.gz
qemu-3e40ba0faf0822fa78336fe6cd9d677ea9b14f1b.tar.bz2
qemu-3e40ba0faf0822fa78336fe6cd9d677ea9b14f1b.zip
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
Diffstat (limited to 'hw/misc/eccmemctl.c')
0 files changed, 0 insertions, 0 deletions