
Quoting Jason Krieg (jason.krieg@collax.com):
On 07/20/2010 04:24 PM, Serge Hallyn wrote:
Hi,
virsh has save/restore to do a one-time save+shutdown. But it does not expose kvm's savevm/restorevm, which let's me do incremental snapshots. Is there a specific reason why that is not exposed in libvirt, or is it just that noone has implemented it? This is included in the 'snapshot' APIs / virsh commands as of 0.8.1
On Tue, Jul 20, 2010 at 05:17:43AM -0500, Serge Hallyn wrote: libvirt release Oh, excellent! (Alas, my libvirt 0.8.1 doesn't seem to think that my qcow2 images can support snapshots, but I"ll have to look into
Quoting Daniel P. Berrange (berrange@redhat.com): that some more)
You will need to set the driver type <driver name='qemu' type='qcow2'/>
example:
<disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='writethrough'/> <source file='/var/lib/vm/data/images/debian.img'/> <target dev='vda' bus='virtio'/> </disk>
Regards, Jason
Thanks! That worked beautifully. Well, interestingly, the first time I made this change, the '<driver name=' line got cut off so the type and cache options were gone, but once it let those stick, it worked great. thanks! -serge