[libvirt] kvm savevm/loadvm

Chris Lalancette clalance at redhat.com
Tue Jul 20 13:11:43 UTC 2010


On 07/20/10 - 05:17:43AM, 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?

The save/restore API only does a memory snapshot.  If you are referring
to the savevm/loadvm/delvm, which take a disk+memory snapshot, then that is
implemented in terms of the libvirt snapshot API.  You can start here:

http://libvirt.org/html/libvirt-libvirt.html#virDomainSnapshotCreateXML

--
Chris Lalancette




More information about the libvir-list mailing list