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
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.
>
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
---