[libvirt] [PATCH v4 3/8] snapshot: Tweaks to support new bulk dumpxml/import API

Ján Tomko jtomko at redhat.com
Tue Mar 12 13:25:54 UTC 2019


On Mon, Mar 11, 2019 at 09:38:34PM -0500, Eric Blake wrote:
>Change the return value of virDomainSnapshotObjLisParse() to return

also
s/ObjLis/ObjList/

Jano

>the number of snapshots imported, and allow a return of 0 (the
>original proposal of adding a flag to virDomainSnapshotCreateXML
>required returning an arbitrary non-NULL snapshot, but with a new API
>that returns a count, we are no longer constrained to a non-empty
>list).
>
>Change virDomainSnapshotObjListFormat()'s flags argument to be
>the new public virDomainGetSnapshotsXMLFlags, since it is easy
>to support both flag values.
>
>Signed-off-by: Eric Blake <eblake at redhat.com>
>---
> src/conf/snapshot_conf.c | 30 +++++++++++++++++-------------
> 1 file changed, 17 insertions(+), 13 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190312/0bdc011a/attachment-0001.sig>


More information about the libvir-list mailing list