[PATCH 0/3] src: use virDomainJobData

Kristina Hanicova khanicov at redhat.com
Thu Jan 20 16:59:47 UTC 2022


This series is the continued rewriting of the jobs functions with more
to come in the future.


Kristina Hanicova (3):
  qemu: use generalized virDomainJobData instead of qemuDomainJobInfo
  qemu: make separate function for setting statsType of privateData
  libxl: use virDomainJobData instead of virDomainJobInfo

 src/hypervisor/domain_job.c      |  78 +++++++++++
 src/hypervisor/domain_job.h      |  72 ++++++++++
 src/hypervisor/meson.build       |   1 +
 src/libvirt_private.syms         |   7 +
 src/libxl/libxl_domain.c         |  10 +-
 src/libxl/libxl_domain.h         |   3 +-
 src/libxl/libxl_driver.c         |  14 +-
 src/qemu/qemu_backup.c           |  40 +++---
 src/qemu/qemu_backup.h           |   4 +-
 src/qemu/qemu_domain.c           |   8 ++
 src/qemu/qemu_domain.h           |   3 +
 src/qemu/qemu_domainjob.c        | 227 +++++++++++++++----------------
 src/qemu/qemu_domainjob.h        |  54 ++------
 src/qemu/qemu_driver.c           | 109 ++++++++-------
 src/qemu/qemu_migration.c        | 187 +++++++++++++------------
 src/qemu/qemu_migration.h        |   4 +-
 src/qemu/qemu_migration_cookie.c |  60 ++++----
 src/qemu/qemu_migration_cookie.h |   2 +-
 src/qemu/qemu_process.c          |  23 ++--
 src/qemu/qemu_snapshot.c         |   3 +-
 20 files changed, 539 insertions(+), 370 deletions(-)
 create mode 100644 src/hypervisor/domain_job.c
 create mode 100644 src/hypervisor/domain_job.h

-- 
2.34.1




More information about the libvir-list mailing list