]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: blockCopy: Allow reuse of raw image for shallow block copy
authorPeter Krempa <pkrempa@redhat.com>
Mon, 27 Apr 2015 11:57:20 +0000 (13:57 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 29 Apr 2015 07:32:53 +0000 (09:32 +0200)
commitebe0bd5590415981f5b01a5cf4aa702b269566f9
treed36eb80be37b2634f6711ecaf19e32ff5e64a51c
parent18f24c65d5c62ed172fd2bd22d148d79f8a408db
qemu: blockCopy: Allow reuse of raw image for shallow block copy

The documentation states that for shallow block copy the image has to
have the same guest visible content as backing file of the current
image if the file is being reused. This condition can be achieved also
with a raw file (or a qcow without a backing file) so remove the
condition that would disallow it.

(This patch additionally fixes crash described in
 https://bugzilla.redhat.com/show_bug.cgi?id=1215569 )
src/qemu/qemu_driver.c