qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] qcow2: online snasphots : internal vs external ?


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] qcow2: online snasphots : internal vs external ?
Date: Sat, 25 Aug 2012 15:01:45 +0100

On Sat, Aug 25, 2012 at 2:25 PM, Alexandre DERUMIER <address@hidden> wrote:
> I'm currently looking to add live snapshot support to proxmox kvm 
> distribution.
>
> Is it possible to use internal snapshots on a running guest running qcow2 
> disk?
> (qemu-img snapshot -c ) ?

No.  qemu-img should not be used if the guest is running.

> Or do I need to use external snapshots with qmp blockdev-snapshot-sync ?
> (Seem more complex to delete old snapshots)

External qcow2/qed snapshots can be created while the guest is running
using snapshot-blockdev-sync, but it is not yet possible to flatten
the chain arbitrarily while the guest is running.

You can use block-stream to populate the top-most image file with data
from its backing image chain.  Jeff Cody is working on block-commit
which allows merging down (this is the opposite of block-stream).  The
advantage with block-commit is that backing images are often smaller
than the image file, it's therefore more efficient to copy less data
down instead of copying the backing image up into the image file.

Stefan



reply via email to

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