The following series of patches work on isolating the qemu_domainjob
from its dependency on other files such as `qemu_migration_params`,
`qemu_monitor`, etc. This is done by the introduction of a
`privateData` structure, which is further handled by a structure
of callback functions.
Previous version of this patch can be found here[1].
As the previous patch was a bulky one, this series of patches
are the result of splitting the previous one.
[1]:
https://www.redhat.com/archives/libvir-list/2020-July/msg00423.html
Prathamesh Chavan (4):
qemu_domain: moved qemuDomainNamespace to `qemu_domain`
qemu_domainjob: job funcitons moved out of `qemu_domain`
qemu_domainjob: introduce `privateData` for `qemuDomainJob`
qemu_domainjob: introduce `privateData` for `qemuDomainJobInfo`
src/qemu/qemu_backup.c | 15 +-
src/qemu/qemu_domain.c | 250 +------------------
src/qemu/qemu_domain.h | 28 +++
src/qemu/qemu_domainjob.c | 406 +++++++++++++++++++++++++++----
src/qemu/qemu_domainjob.h | 54 ++--
src/qemu/qemu_driver.c | 21 +-
src/qemu/qemu_migration.c | 42 ++--
src/qemu/qemu_migration_cookie.c | 7 +-
src/qemu/qemu_migration_params.c | 9 +-
src/qemu/qemu_process.c | 26 +-
10 files changed, 510 insertions(+), 348 deletions(-)
--
2.17.1