[libvirt-users] Discard disk changes on shutdown

Hi Everyone, I'm trying to start a domain that will discard all changes to its disks on shutdown. I've tried adding <transient/> to the disk declarations in the definition xml but this results in a "not supported" error message on define. Is there a way to do this without creating and rolling back snapshots? Thanks, Jason

On 01/16/2015 07:13 AM, Jason Macgowan wrote:
Hi Everyone,
I'm trying to start a domain that will discard all changes to its disks on shutdown. I've tried adding <transient/> to the disk declarations in the definition xml but this results in a "not supported" error message on define. Is there a way to do this without creating and rolling back snapshots?
Not yet - manually running snapshots or using qemu-img to create your own wrappers is indeed your only option at the moment. But adding <transient> support is on my list sometime in the next few months: https://bugzilla.redhat.com/show_bug.cgi?id=1057800 -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (2)
-
Eric Blake
-
Jason Macgowan