[PATCH] qemu: backup: Fix handling of backing store for backup target images
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...
Size: 488 bytes
Desc: not available
More information about the libvir-list