qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] merging qcows2 snapshot image with base file into ano


From: Fam Zheng
Subject: Re: [Qemu-discuss] merging qcows2 snapshot image with base file into another file
Date: Tue, 8 Apr 2014 08:44:19 +0800
User-agent: Mutt/1.5.23 (2014-03-12)

On Mon, 04/07 15:23, Robin Bussell wrote:
> 
> 
> 
> 
> Hi Folks,
>         I'm new to qemu so forgive me if I use the wrong terminology here:
> 
> I have a base linux qcows2 image (base.bak) and two development images which 
> use that file as a backing file (dev1.img and dev2.img).
> 
> I now wish to convert dev1 machine's disk image into a standalone image that 
> is independent of base.bak.
> 
> I can only seem to find instructions on merging snapshots back into base 
> files, which would, in my understanding, leave dev2.img broken as its backing 
> file has changed.
> 
> I'm sure I'm just missing a concept somewhere, can anyone enlighten me?
> 

Hi Robin,

You can do this by converting dev1 into a raw image, the output file will be
flat and not dependent on the backing base:

    $ qemu-img convert -O raw dev1.img dev1.raw

Thanks,
Fam



reply via email to

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