[PATCH 06/17] virdomainjob: make drivers use job object in the domain object

Ján Tomko jtomko at redhat.com
Wed Aug 31 17:01:23 UTC 2022


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 at 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 at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220831/cb638e3c/attachment-0001.sig>


More information about the libvir-list mailing list