[PATCH] qemu: backup: Fix handling of backing store for backup target images

Ján Tomko jtomko at redhat.com
Wed Apr 8 13:59:15 UTC 2020

On a Monday in 2020, Peter Krempa wrote:
>We always tried to install backing store for the image even if it didn't
>make sesne, e.g. for a full backup into a raw image. Additionally we


>didn't record the backing file into the qcow2 metadata so the image
>itself contained the diff of data but reading from it would be
>incomplete as it depends on the backing image.
>This patch fixes both issues by carefully installing the correct backing
>file when appropriate and also recording it into the metadata when
>creating the image.
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> src/qemu/qemu_backup.c | 26 ++++++++++++++++++++++----
> 1 file changed, 22 insertions(+), 4 deletions(-)

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

-------------- 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/20200408/804c48e4/attachment-0001.sig>

More information about the libvir-list mailing list