Hey, On Sat, Aug 02, 2014 at 10:41:45AM +0200, [email protected] wrote: > From: Timm Bäder <[email protected]> > > The following 4 patches add some more snapshot API to libvirt-glib. > > I wasn't sure where to put _revert_to really, the libvirt API sounds > like it belongs into GVirDomain (i.e. gvir_domain_revert_to_snapshot), > but virDomainRevertToSnapshot only takes a pointer to the snapshot.
Snapshot XML which you get from libvirt contains a "domain" node with the full domain configuration at the time the snapshot was created, and I think the current domain configuration will be reverted to the configuration stored in the snapshot when we revert to it. I think it's ok to have this under GVirDomainSnapshot. If we put that in GVirDomain, we'd have to make sure the snapshot we are trying to revert to corresponds to the domain we are acting on. Christophe
pgpI4BAgZ7O9N.pgp
Description: PGP signature
-- libvir-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/libvir-list
