On a Wednesday in 2022, Kristina Hanicova wrote:
This patch uses the job object directly in the domain object and
removes the job object from private data of all drivers that use
it as well as other relevant code (initializing and freeing the
structure).
Signed-off-by: Kristina Hanicova <khanicov(a)redhat.com>
---
src/ch/ch_domain.c | 29 ++--
src/ch/ch_domain.h | 2 -
src/conf/domain_conf.c | 1 +
src/libxl/libxl_domain.c | 31 ++--
src/libxl/libxl_domain.h | 2 -
src/libxl/libxl_driver.c | 12 +-
src/lxc/lxc_domain.c | 28 ++--
src/lxc/lxc_domain.h | 2 -
src/qemu/qemu_backup.c | 18 +--
src/qemu/qemu_conf.c | 6 +-
src/qemu/qemu_domain.c | 69 +++++----
src/qemu/qemu_domain.h | 3 +-
src/qemu/qemu_domainjob.c | 223 +++++++++++------------------
src/qemu/qemu_domainjob.h | 2 -
src/qemu/qemu_driver.c | 72 +++++-----
src/qemu/qemu_migration.c | 193 ++++++++++++-------------
src/qemu/qemu_migration_cookie.c | 17 ++-
src/qemu/qemu_migration_cookie.h | 3 +-
src/qemu/qemu_migration_params.c | 8 +-
src/qemu/qemu_process.c | 73 +++++-----
src/qemu/qemu_snapshot.c | 2 +-
tests/qemumigrationcookiexmltest.c | 3 +-
22 files changed, 347 insertions(+), 452 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano