]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_domain: Add missing IOMMUFD cleanup
authorPavel Hrdina <phrdina@redhat.com>
Sat, 14 Feb 2026 15:12:11 +0000 (16:12 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 16 Feb 2026 14:50:39 +0000 (15:50 +0100)
commit7c062bfc4f8c0ba853873e72d21dba77f6ca938f
tree5f8db49644636bb5df81e96cebf8c1709eacfcd1
parent4b176cfc3877cca882d63ab4ed446794d7a05722
qemu_domain: Add missing IOMMUFD cleanup

If starting VM fails we would leak the FD for IOMMU device.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_domain.c