Re: [libvirt] [PATCH v2 07/11] qemu_domain: Allow qemuDomainObjListAdd to keep job upon return

2019-06-06 Thread Nikolay Shirokovskiy
On 05.06.2019 12:09, Michal Privoznik wrote: > In some cases, caller of qemuDomainObjListAdd() tries to acquire > MODIFY job after the call. Let's adjust qemuDomainObjListAdd() so > that it will keep the job set upon return (if requested by > caller). > > Signed-off-by: Michal Privoznik > ---

Re: [libvirt] [PATCH v2 07/11] qemu_domain: Allow qemuDomainObjListAdd to keep job upon return

2019-06-06 Thread Nikolay Shirokovskiy
On 05.06.2019 12:09, Michal Privoznik wrote: > In some cases, caller of qemuDomainObjListAdd() tries to acquire > MODIFY job after the call. Let's adjust qemuDomainObjListAdd() so > that it will keep the job set upon return (if requested by > caller). > > Signed-off-by: Michal Privoznik > ---

[libvirt] [PATCH v2 07/11] qemu_domain: Allow qemuDomainObjListAdd to keep job upon return

2019-06-05 Thread Michal Privoznik
In some cases, caller of qemuDomainObjListAdd() tries to acquire MODIFY job after the call. Let's adjust qemuDomainObjListAdd() so that it will keep the job set upon return (if requested by caller). Signed-off-by: Michal Privoznik --- src/qemu/qemu_domain.c| 17 ++---