qemu-server/PVE/VZDump
Wolfgang Bumiller 8009da73f1 fix #6317: backup: use correct cleanup_fleecing_images helper
The local one is specific for `allocate_fleecing_images` and has a
comment stating to use the one from `PVE::QemuConfig` in all other
cases.

The `cleanup` sub already called this, but only if the VM was running.
We do allocate fleecing images for previously-stopped VMs as well,
though, so we also need to do the cleanup.

As for the `detach_fleecing_images()` call: while could have stayed in
the `vm_running_locall()` branch, it also performs this check and this
way the entire fleecing cleanup stays together in one place.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2025-04-16 12:39:34 +02:00
..
Makefile imported from svn 'qemu-server/pve2' 2011-08-23 07:47:04 +02:00
QemuServer.pm fix #6317: backup: use correct cleanup_fleecing_images helper 2025-04-16 12:39:34 +02:00