[PATCH] qemu: backup: Properly delete temporary bitmap after push-mode incremental backup

Ján Tomko jtomko at redhat.com
Tue Jan 5 17:04:54 UTC 2021


On a Tuesday in 2021, Peter Krempa wrote:
>Refactor in 0316c28a453ac used incorrect source variable to initialize
>the variable which holds the name of the bitmap which needs to be
>deleted after the backup job finishes. This resulted into deleting the
>source bitmap of the backup rather than the temporary one.
>
>Use 'dd->incrementalBitmap' which holds the temporary bitmap name
>instead of 'dd->backupdisk->incremental' which holds the name of the
>source bitmap which is used by the backup.
>
>Fixes: 0316c28a453ac15f58c61f30359f66ab9a649884
>Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1908647
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_backup.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210105/0e256ca0/attachment-0001.sig>


More information about the libvir-list mailing list