16 Feb
2026
16 Feb
'26
3:28 a.m.
If starting VM fails we would leak the FD for IOMMU device. Signed-off-by: Pavel Hrdina <phrdina@redhat.com> --- src/qemu/qemu_domain.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index bdab117e96..64b01e524f 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -1975,6 +1975,8 @@ qemuDomainObjPrivateDataClear(qemuDomainObjPrivate *priv) priv->migrationRecoverSetup = false; + VIR_FORCE_CLOSE(priv->iommufd); + g_clear_pointer(&priv->memoryBackingDir, g_free); } -- 2.53.0