Re: [libvirt] [PATCH v2 2/5] uml: Fix umlInotifyEvent dom object handling

2018-04-19 Thread John Ferlan
On 04/19/2018 09:51 AM, Daniel P. Berrangé wrote: > On Mon, Apr 02, 2018 at 09:06:13AM -0400, John Ferlan wrote: >> The virDomainObjListFindByName will return a locked and reffed >> object. If we call virDomainObjListRemove that will unlock the >> object upon return, thus we need to relock the

Re: [libvirt] [PATCH v2 2/5] uml: Fix umlInotifyEvent dom object handling

2018-04-19 Thread Daniel P . Berrangé
On Mon, Apr 02, 2018 at 09:06:13AM -0400, John Ferlan wrote: > The virDomainObjListFindByName will return a locked and reffed > object. If we call virDomainObjListRemove that will unlock the > object upon return, thus we need to relock the object before > making the call to virDomainObjEndAPI. >

[libvirt] [PATCH v2 2/5] uml: Fix umlInotifyEvent dom object handling

2018-04-02 Thread John Ferlan
The virDomainObjListFindByName will return a locked and reffed object. If we call virDomainObjListRemove that will unlock the object upon return, thus we need to relock the object before making the call to virDomainObjEndAPI. Signed-off-by: John Ferlan ---