<div>Thanks a lot for the details. </div><div><br></div><div>From <a href="http://wiki.libvirt.org/page/Snapshots">http://wiki.libvirt.org/page/Snapshots</a>, we have to pause the domain before taking snapshot and resume after. Is there any way to do "live" snapshotting for running domain or reduce pause time?</div><div><br></div><div>Thanks,</div><div>Lei</div><div><includetail><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From: </b> "Eric Blake"<eblake@redhat.com>;</div><div><b>Date: </b> Wed, Jun 6, 2012 08:24 PM</div><div><b>To: </b> "SimpleCloud"<simplecloud@qq.com>; <wbr></div><div><b>Cc: </b> "libvirt-users"<libvirt-users@redhat.com>; <wbr></div><div><b>Subject: </b> Re: [libvirt-users] The default location of vm snapshots</div></div><div><br></div>On 06/06/2012 03:20 AM, SimpleCloud wrote:<br>> Hi all,<br>> <br>> <br>> Where could I find the memory dump and disk snapshots for vm after command "virsh snapshot-create <some_running_vm>"? Thanks in advance.<br><br>This particular form of snapshot is called the 'system checkpoint'<br>snapshot, and the current qemu implementation is that the snapshot<br>creates internal snapshots in your qcow2 files.  If you do 'qemu-img<br>info $path_to_img', you will see the disk snapshots listed as internal<br>snapshots for each image associated with the domain, as well as the<br>first qcow2 file also having memory associated with the internal snapshot.<br><br>> <br>> <br>> I found the xml files in /var/lib/libvirt/qemu/snapshot/, but hava no idea about the raw snapshot file.<br><br>Looking in /var/lib/libvirt is generally unsupported (that is an<br>internal libvirt detail, and subject to change in future releases).  The<br>only way to safely look at the snapshot XML is via the API<br>(virDomainSnapshotGetXMLDesc, which is wrapped by 'virsh snapshot-dumpxml').<br><br>I am also hoping to submit a patch that will allow you the option to<br>create an external snapshot rather than using qcow2 internal snapshots,<br>but that's not in the code base yet.<br><br>-- <br>Eric Blake   eblake@redhat.com    +1-919-301-3266<br>Libvirt virtualization library http://libvirt.org<br><br><br></includetail></div>