[libvirt] [PATCHv2] qemu: blockCopy: Allow reuse of raw image for shallow block copy

Eric Blake eblake at redhat.com
Wed Apr 29 02:43:47 UTC 2015


On 04/28/2015 09:53 AM, Peter Krempa wrote:
> 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 )
> ---
> V2:
> - different approach to fix Eric's comment
> 
> 
>  src/qemu/qemu_driver.c | 12 +++++++++---
>  1 file changed, 9 insertions(+), 3 deletions(-)
> 

ACK; and I think it qualifies as a bug fix so safe for freeze.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150428/ddbd30f0/attachment-0001.sig>


More information about the libvir-list mailing list