]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuBackupDiskDataCleanupOne: Don't skip rest of cleanup if we can't enter monitor
authorPeter Krempa <pkrempa@redhat.com>
Fri, 6 Sep 2024 12:42:25 +0000 (14:42 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 6 Sep 2024 16:14:34 +0000 (18:14 +0200)
commitecffc91d0232ce7a5ee98b8026f2e41926dffe83
tree3993ae19f9459c01e39e063393d978433e2712e9
parent8666523b7d0891c38a7c9c138c4cc318eddfefeb
qemuBackupDiskDataCleanupOne: Don't skip rest of cleanup if we can't enter monitor

Recent fix to use the proper 'async' monitor function would cause
libvirt to leak some of the objects it's supposed to clean up in other
places besides qemu.

Don't skip the whole function on failure to enter the job but just the
monitor section.

Fixes: 9b22c25548aa658acdeac2269ddae32584df32d8
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_backup.c