On 05.06.2019 12:09, Michal Privoznik wrote:
In some cases, caller of libxlDomainObjListAdd() tries to acquire
MODIFY job after the call. Let's adjust libxlDomainObjListAdd() so
that it will keep the job set upon return (if requested by
caller).
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
src/libxl/libxl_domain.c | 17 ++++++++++++++---
src/libxl/libxl_domain.h | 1 +
src/libxl/libxl_driver.c | 24 +++++++-----------------
src/libxl/libxl_migration.c | 18 ++----------------
4 files changed, 24 insertions(+), 36 deletions(-)
Reviewed-by: Nikolay Shirokovskiy <nshirokovskiy(a)virtuozzo.com>