Following are a series of patches aimed to make qemu_domainjob
hypervisor agnostic, and create a virdomainjob file in the future
which handles domain-jobs.
Prathamesh Chavan (7):
qemu_domain: Added `qemuDomainJobInfo` to domainJob's `privateData`
qemu_domainjob: added maxQueuedJobs and jobs_queued to `qemuDomainJob`
qemu_domainjob: add `saveDomainStatus` as a callback function to jobs
qemu_domain: funciton declarations moved to correct file
qemu_domainjob: added `getDomainXMLOptionPtr` callback function
qemu_domainjob: removed reference to `qemuDomainObjPrivatePtr`
virmigraiton: `qemuMigrationJobPhase` transformed for more generic use
src/hypervisor/meson.build | 1 +
src/hypervisor/virmigration.c | 41 ++
src/hypervisor/virmigration.h | 38 +
src/libvirt_private.syms | 4 +
src/qemu/MIGRATION.txt | 8 +-
src/qemu/qemu_backup.c | 72 +-
src/qemu/qemu_backup.h | 3 +-
src/qemu/qemu_block.c | 45 +-
src/qemu/qemu_block.h | 6 +-
src/qemu/qemu_blockjob.c | 45 +-
src/qemu/qemu_blockjob.h | 3 +-
src/qemu/qemu_checkpoint.c | 29 +-
src/qemu/qemu_domain.c | 595 ++++++++++++++--
src/qemu/qemu_domain.h | 106 ++-
src/qemu/qemu_domainjob.c | 845 +++++-----------------
src/qemu/qemu_domainjob.h | 152 ++--
src/qemu/qemu_driver.c | 1127 ++++++++++++++++--------------
src/qemu/qemu_hotplug.c | 319 ++++-----
src/qemu/qemu_hotplug.h | 30 +-
src/qemu/qemu_migration.c | 438 ++++++------
src/qemu/qemu_migration.h | 29 +-
src/qemu/qemu_migration_cookie.c | 15 +-
src/qemu/qemu_migration_params.c | 48 +-
src/qemu/qemu_migration_params.h | 15 +-
src/qemu/qemu_process.c | 364 +++++-----
src/qemu/qemu_process.h | 15 +-
tests/qemuhotplugtest.c | 2 +-
27 files changed, 2211 insertions(+), 2184 deletions(-)
create mode 100644 src/hypervisor/virmigration.c
create mode 100644 src/hypervisor/virmigration.h
--
2.25.1