Hi,<div><br></div><div>I faced two problems with the snapshot:</div><div><br></div><div>First issue, I can use the snapshot functions via the virsh correctly such as snapshot-list. And when I removed the snapshot XML files from /var/lib/libvirt/qemu/snapshot/**/, I don't see the snapshot of the Virtual Machine any more. That's correct. </div>

<div>But after I copying  the XML files back, I can't see the the snapshot as well. Only if I restart my laptop can I see them. However, restarting is what I want to avoid. Because I wish I could utilize the functions in a server in the future.</div>

<div>Does anyone have ideas about this, Did I do something wrong or  it's a limitation. </div><div>So far, I am using the qemu-img command to check the snapshot and do the revert without restarting my laptop. Because the snapshots are already embedded in the img file.</div>

<div><br></div><div>Second issue, I find if I create the XML file of snapshot by using getXMLDesc and output to a new file in python, there is a slightly different. But, the new XML file can't be recognized even if I restart my laptop. The new XML file miss the attribute <active>  as far as I can see, is it so important?</div>

<div>Here is one example:</div><div>The original XML in the default folder:</div><div><div><domainsnapshot></div><div>  <name>Ex</name></div><div>  <description>Snapshot of OS updates</description></div>

<div>  <state>running</state></div><div>  <parent></div><div>    <name>1342427860</name></div><div>  </parent></div><div>  <creationTime>1342428835</creationTime></div><div>

  <domain></div><div>    <uuid>2c853de2-6bba-ad26-bf05-0045e5f1beb9</uuid></div><div>  </domain></div><div>  <active>0</active></div><div></domainsnapshot></div></div><div><br></div>

<div>The new XML file I created:</div><div><div><domainsnapshot></div><div>  <name>Ex</name></div><div>  <description>Snapshot of OS updates</description></div><div>  <state>running</state></div>

<div>  <parent></div><div>    <name>1342427860</name></div><div>  </parent></div><div>  <creationTime>1342428835</creationTime></div><div>  <domain></div><div>    <uuid>2c853de2-6bba-ad26-bf05-0045e5f1beb9</uuid></div>

<div>  </domain></div><div></domainsnapshot></div></div><div><br></div><div>Thank you so much.</div><div><br></div><div>Best Regards</div><div><br></div><div>Tan</div>