Re: [libvirt] [PATCH 15/16] snapshot: Tweaks to support new bulk dumpxml/import API

2019-03-22 Thread Eric Blake
On 3/21/19 7:41 PM, John Ferlan wrote: > > > On 3/20/19 1:41 AM, Eric Blake wrote: >> Change the return value of virDomainSnapshotObjLisParse() to return > > *ListParse > >> the number of snapshots imported, and allow a return of 0 (the >> original proposal of adding a flag to

Re: [libvirt] [PATCH 15/16] snapshot: Tweaks to support new bulk dumpxml/import API

2019-03-21 Thread John Ferlan
On 3/20/19 1:41 AM, Eric Blake wrote: > Change the return value of virDomainSnapshotObjLisParse() to return *ListParse > 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 15/16] snapshot: Tweaks to support new bulk dumpxml/import API

2019-03-19 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