[libvirt] [libvirt-glib] [PATCH 0/4] Add more snapshot API

Christophe Fergeau cfergeau at redhat.com
Tue Aug 5 12:00:14 UTC 2014


On Sat, Aug 02, 2014 at 10:41:45AM +0200, mail at baedert.org wrote:
> From: Timm Bäder <mail at baedert.org>
> The implementation of gvir_domain_snapshot_set_config does not allow
> renaming of the snapshot as that will just create a new snapshot in
> any case (should that by documented?). But it looks like the same
> is true for gvir_domain_set_config?

gvir_domain_set_config is a bit different to the snapshot stuff as it
uses virDomainDefineXML rather than virDomainCreateXML. I'd expect that
as long as the domain UUID is not modified, this will modify an existing
domain.
Regarding the use of virDomainSnapshotCreateXML, isn't this going to do
the right thing as you specified the
VIR_DOMAIN_SNAPSHOT_CREATE_REDEFINE? (I'm a bit confused by the API doc
;)

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140805/8b8f0b0b/attachment-0001.sig>


More information about the libvir-list mailing list