Currently, I've tried to move qemu VM image to a new computer.<div><br></div><div>So, I copied VM image files in /var/lib/libvirt/images, VM xml files in /etc/libvirt/qemu, VM snapshot files in /var/lib/libvirt/qemu/snapshot to the same places at the new computer.</div>
<div><br></div><div>Everything is OK except snapshot!!</div><div><br></div><div>When I use "qemu-img info" for the copied VM image, I can see the snapshot list in the result as shown below:</div><div><div><br></div>
<div><br></div><div>root@doc-scheduler:/var/lib/libvirt/images# qemu-img info VM22.img </div><div>image: VM22.img</div><div>file format: qcow2</div><div>virtual size: 10G (10737418240 bytes)</div><div>disk size: 1.7G</div>
<div>cluster_size: 65536</div><div>Snapshot list:</div><div>ID        TAG                 VM SIZE                DATE       VM CLOCK</div><div>1         VM22_A                 228M 2013-01-31 10:06:45   00:06:38.110</div>
</div><div><br></div><div><br></div><div>But, when I use "virsh snapshot-list " for the copied VM, the result is empty as follows:</div><div><br></div><div><div>root@doc-scheduler:~# virsh snapshot-list VM22</div>
<div> Name                 Creation Time             State</div><div>------------------------------------------------------------</div></div><div><br></div><div><br></div><div>and of course, I can't revert to the snapshot.</div>
<div><br></div><div>Please let me know how I can copy my snapshots to the new machine.</div><div><br></div><div>Thanks.</div>