[libvirt-users] some problem with snapshot by libvirt

xingxing gao itxx00 at gmail.com
Tue May 29 16:23:13 UTC 2012

thanks , does qemu-ga support centos6.2 and windows server 2008 vm
system? how could i get it in a convenient way?build it from code by
end user?

2012/5/30 xingxing gao <itxx00 at gmail.com>:
> to create snapshot ,I did   step below:
> virsh snapshot-create-as centos snap1 --disk-only --atomic --no-metadata
> virsh snapshot-create-as centos snap2 --disk-only ......
> ........................
> virsh snapshot-creates-as centos snap10 .....
> then i got 10 snapshot of a vm,
> to revert, i just did the follow step:
> 1 destroy centos
> 2 editor="sed -i 's/centosdisk.snap10/centosdisk.snap1/g'" virsh edit centos
> 3 rm -f centos.snap{2,3,4,5,6.....}
> 4 start centos
> is these steps correct?
> and another question is ,when i revert to a snapshot,some files of the
> vm's system  missing,does this have any relation with the disk cache
> mode (writeback,writethrough,none,etc.)???how could i avoid that
> happen??
> thanks.

More information about the libvirt-users mailing list