[libvirt-users] Defining VM with snapshots?

Skardal, Harald
Tue, 27 Aug 2013 14:47:37 -0000

All,

Using Centos 6.4 with provided libvirt:
[root@node1 ~]# rpm -q libvirt
libvirt-1.0.1-2.el6.x86_64


Assume a VM with one or more live snapshots.
In virsh the VM snapshots can be listed.

With virsh:


-          Stop and undefine this VM.

-          Then define (and start) this VM.

The new VM does not have the list of snapshots.

Is there a way with virsh to rebuild the metadata such that libvirt
"knows" about the snapshots in the "disk stack"?

        Harald