]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Fix logic in qemuDomainBlockCopyCommonValidateUserMirrorBackingStore
authorPeter Krempa <pkrempa@redhat.com>
Fri, 26 Jul 2019 13:58:26 +0000 (15:58 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 16 Aug 2019 11:26:10 +0000 (13:26 +0200)
commit32bd092b4965d2ab510c0bb75ea9f2ce0ef84b52
treed4db183b6ca6d3ee6b0a78c0e1e18e80ae0bf0af
parent734352d4347141d525a3120d06bca90b726ac3f5
qemu: Fix logic in qemuDomainBlockCopyCommonValidateUserMirrorBackingStore

Allow reusing original backing chain when doing a shallow copy without
reuse of external image. The existing logic didn't allow it but it will
be possible. Also add a note to explain that logic.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_driver.c