[libvirt] booting a snapshot
Philipp Hahn
hahn at univention.de
Wed Mar 21 08:09:05 UTC 2012
Hello,
On Wednesday 21 March 2012 08:02:08 Pankaj Rawat wrote:
> I have created a snapshot of qcow2 image as
>
> qemu-img create -f qcow2 -b guestqcow2 snapshot1
>
> now I want to boot from this snapshot but I don't know how
You remove that snapshot file (or move it aside) and create the samefile again
with exactly the same command you used above. Then you're back to the state
as of 'guestqcow2'.
"snapshot1" only stores the delta relative to "guestqcow2", so all your
changes are in that file. To undo them, you just need to to forget those
changes and start with a new snapshot file, where the delta is zero.
Hope that helps.
Sincerely
Philipp
--
Philipp Hahn Open Source Software Engineer hahn at univention.de
Univention GmbH be open. fon: +49 421 22 232- 0
Mary-Somerville-Str.1 D-28359 Bremen fax: +49 421 22 232-99
http://www.univention.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120321/55215807/attachment-0001.sig>
More information about the libvir-list
mailing list