qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 2/2] New qemu-img convert -B option to preserve


From: Anthony Liguori
Subject: [Qemu-devel] Re: [PATCH 2/2] New qemu-img convert -B option to preserve the COW aspect of images and/or re-base them
Date: Wed, 04 Jun 2008 09:03:53 -0500
User-agent: Thunderbird 2.0.0.14 (X11/20080501)

Marc Bevand wrote:
If a disk image hd_a is a copy-on-write image based on the backing
file hd_base, it is currently impossible to use qemu-img to convert
hd_a to hd_b (possibly using another disk image format) while keeping
hd_b a copy-on-write image of hd_base. qemu-img also doesn't provide a
feature that would let an enduser re-base a image, for example: adjust
hd_a's backing file name from hd_base to hd_base2 if it had to change
for some reason.

This patch solves the 2 above problems by adding a new qemu-img
convert -B option which works as described below. This is a generic
feature that should work with ANY disk image format supporting backing
files:

Looks good to me.

Reviewed-by: Anthony Liguori <address@hidden>

Regards,

Anthony Liguori




reply via email to

[Prev in Thread] Current Thread [Next in Thread]