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

2019-03-12 Thread Ján Tomko
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

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

2019-03-12 Thread Ján Tomko
On Mon, Mar 11, 2019 at 09:38:34PM -0500, Eric Blake wrote: Change the return value of virDomainSnapshotObjLisParse() to return 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

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

2019-03-11 Thread Eric Blake
Change the return value of virDomainSnapshotObjLisParse() to return 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 l