Re: [libvirt] [PATCH v2 3/3] test: Need to relock afer virDomainObjListRemove

2018-04-04 Thread John Ferlan
On 04/04/2018 02:57 AM, Marc Hartmayer wrote: > On Mon, Apr 02, 2018 at 02:27 PM +0200, John Ferlan > wrote: >> For all @dom's fetched from a testDomObjFromDomain because >> virDomainObjListRemove will return an unlocked domain object >> we should relock it prior to the cleanup label which will

Re: [libvirt] [PATCH v2 3/3] test: Need to relock afer virDomainObjListRemove

2018-04-03 Thread Marc Hartmayer
On Mon, Apr 02, 2018 at 02:27 PM +0200, John Ferlan wrote: > For all @dom's fetched from a testDomObjFromDomain because > virDomainObjListRemove will return an unlocked domain object > we should relock it prior to the cleanup label which will use > virDomainObjEndAPI which would Unlock and Unref t