[libvirt] [PATCH 04/11] qemu: backup: Move deletion of backup images to job termination

Daniel P. Berrangé berrange at redhat.com
Fri Dec 20 13:52:27 UTC 2019


On Fri, Dec 20, 2019 at 02:25:22PM +0100, Peter Krempa wrote:
> 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 at redhat.com>
> ---
>  src/qemu/qemu_backup.c   | 24 ++++++++++++++++++++++++
>  src/qemu/qemu_blockjob.c | 15 +--------------
>  2 files changed, 25 insertions(+), 14 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list