[libvirt] PATCH: add support for -snapshot

Geert Jansen geert at boskant.nl
Sat May 23 19:34:41 UTC 2009


Hi,

i'm working on some infrastructure to run unit tests in a virtual
environment. For this, I need to be able to pass a "snapshot=on"
argument to a qemu virtual disk so that I know I start with the same
state all the time.

The attached patch implements this. It adds a boolean <snapshot/> to
the <disk> section in the XML.

Please consider for inclusion.

Regards,
Geert Jansen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-snapshot.diff
Type: application/octet-stream
Size: 1674 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20090523/52d3ab3b/attachment-0001.obj>


More information about the libvir-list mailing list