<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
Hi Richard,<BR>
<BR>
I think it is possible using qemu to do a live snapshot provided that you use qcow2 image format.<BR>
If you send a savevm to the qemu monitor it will save the RAM cpu position to the qcow2 image and perform a snapshot of all attached device.<BR>
you can then get the list of snapshot using info snapshots<BR>
and restore it by doing loadvm.<BR>
<BR>
Cheers<BR>
Ben<BR>
<BR>
<BR>
-------- Message initial --------<BR>
<B>De</B>: Richard W.M. Jones <<A HREF="mailto:%22Richard%20W.M.%20Jones%22%20%3crjones@redhat.com%3e">rjones@redhat.com</A>><BR>
<B>À</B>: rt <<A HREF="mailto:rt%20%3cr_torresa@yahoo.it%3e">r_torresa@yahoo.it</A>><BR>
<B>Cc</B>: <A HREF="mailto:fedora-virt@redhat.com">fedora-virt@redhat.com</A><BR>
<B>Sujet</B>: Re: [fedora-virt] VM snapshot with qemu-img<BR>
<B>Date</B>: Tue, 22 Sep 2009 13:48:35 +0100<BR>
<BR>
<PRE>
On Mon, Sep 21, 2009 at 10:08:58AM -0700, rt wrote:
> I tried to take snapshot of vm using "qemu-img snapshot" command but
> reverting to a snapshot corrupt the vm disk...

This is only ever going to work if the VM is shut down when
you take the snapshot.

Sorry, but we just don't have the ability to do live snapshots
of running VMs.  It requires a lot of work throughout the stack
(qemu / libvirt / user tools).

Rich.
</PRE>
<BR>
</BODY>
</HTML>