<p dir="ltr">Hi,Eric</p>
<p dir="ltr">Thank you very much for the information</p>
<div class="gmail_quote">On Jan 28, 2015 1:51 AM, "Eric Blake" <<a href="mailto:eblake@redhat.com">eblake@redhat.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 01/27/2015 03:10 AM, Yitao Jiang wrote:<br>
> Hi,<br>
><br>
> If i take a snapshot of a qcow2 image backed domain via virsh<br>
> snapshot-create domainID and I shutdown the machine (and probably destroy<br>
> the domain if virsh list still shows it running), and then undeinfed the<br>
> domain  will that snapshot still exist and be active when I define and<br>
> start the domain back up?<br>
<br>
Shutdown/destroy does not lose track of snapshot information.  Undefine<br>
does; but it only loses track of the metadata; the snapshot data still<br>
exists, and you could re-create it with virsh snapshot-create --redefine<br>
after the domain is redefined, if you want to still revert to that state.<br>
<br>
--<br>
Eric Blake   eblake redhat com    <a href="tel:%2B1-919-301-3266" value="+19193013266">+1-919-301-3266</a><br>
Libvirt virtualization library <a href="http://libvirt.org" target="_blank">http://libvirt.org</a><br>
<br>
</blockquote></div>