]> xenbits.xensource.com Git - libvirt.git/commit
qemu: backup: Move deletion of backup images to job termination
authorPeter Krempa <pkrempa@redhat.com>
Fri, 20 Dec 2019 10:00:57 +0000 (11:00 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 6 Jan 2020 09:15:35 +0000 (10:15 +0100)
commit40485059ab9e4b0d062af86c110ae75f7bb39679
tree5cfa03f243c1470fa63092b4bfd174920598dd32
parentd6b994bafd47aa5ef3d6fc6c063213092b116bb9
qemu: backup: Move deletion of backup images to job termination

While qemu is running both locations are identical in semantics, but the
move will allow us to fix the scenario when the VM is destroyed or
crashes where we'd leak the images.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/qemu_backup.c
src/qemu/qemu_blockjob.c