rgbkrk / libvirt-go

[DEPRECATED] Go bindings for libvirt
https://github.com/libvirt/libvirt-go
MIT License
166 stars 50 forks source link

Enable Reverting to Snapshots #43

Closed yalue closed 9 years ago

yalue commented 9 years ago

This fix adds two new useful bindings for the snapshot interface:

Enables reverting to a snapshot by providing a wrapper to virDomainRevertToSnapshot.

Enable deleting a snapshot (which is not covered by simply calling the existing virDomainSnapshotFree wrapper) by providing a wrapper to virDomainSnapshotDelete.

yalue commented 9 years ago

Forgot to mention, both of these are tested and working under KVM/qemu.