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 <mprivozn(a)redhat.com>
---
src/qemu/qemu_domain.c | 17 ++++++++++++++---
src/qemu/qemu_domain.h | 1 +
src/qemu/qemu_driver.c | 24 +++++++++++-------------
src/qemu/qemu_migration.c | 2 +-
4 files changed, 27 insertions(+), 17 deletions(-)
Reviewed-by: Nikolay Shirokovskiy <nshirokovskiy(a)virtuozzo.com>