[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[GSoC][PATCH v4 0/8] creating hypervisor-agnostic domainjob



This series deals with removal of external dependencies of
`qemu_domainjob`, followed by it being moved to
`hypervisor/virdomainjob`, and renaming corresponding
structures and functions for creating the hypervisor-agnostic
domain-jobs.

Previous series can be seen here[1].

The previous series was updated because:

1. The patch series was rebased on master, after the recent merge
   of `qemu_snapshot`, so that while checking it out, we can avoid
   conflicts.

2. Patch "qemu_domainjob: removed reference to `qemuDomainObjPrivatePtr`"
   was updated.

3. Patch "virdomainjob: moved `qemu_domainjob` to
   `hypervisor/virdomainjob`" was added to complete the series.

This series is based on this patch (virmigraiton:
`qemuMigrationJobPhase` transformed for more generic
use)[2]. Please checkout that out first and then base this
patch series over it. You can see all these changes on my
github account[3].

[1]: https://www.redhat.com/archives/libvir-list/2020-August/msg00744.html
[2]: https://www.redhat.com/archives/libvir-list/2020-August/msg00966.html
[3]: https://github.com/pratham-pc/libvirt/tree/cms

Prathamesh Chavan (8):
  qemu_domainjob: `qemuDomainJobInfo` code moved to `qemu_domain`
  qemu_domain: Added `qemuDomainJobInfo` to domainJob's `privateData`
  qemu_domainjob: callback functions added to access `jobs_queued`
  qemu_domainjob: callback function added to access `maxQueuedJobs`
  qemu_domainjob: `qemuDomainJobPrivateJobCallbacks` structure nested
  qemu_domainjob: add `saveDomainStatus` as a callback function to jobs
  qemu_domainjob: removed reference to `qemuDomainObjPrivatePtr`
  virdomainjob: moved `qemu_domainjob` to `hypervisor/virdomainjob`

 po/POTFILES.in                   |    2 +-
 po/libvirt.pot                   |   34 +-
 src/hypervisor/meson.build       |    1 +
 src/hypervisor/virdomainjob.c    |  792 ++++++++++++++++++
 src/hypervisor/virdomainjob.h    |  243 ++++++
 src/libvirt_private.syms         |   28 +
 src/qemu/meson.build             |    1 -
 src/qemu/qemu_backup.c           |   92 +--
 src/qemu/qemu_backup.h           |    5 +-
 src/qemu/qemu_block.c            |   65 +-
 src/qemu/qemu_block.h            |   18 +-
 src/qemu/qemu_blockjob.c         |   77 +-
 src/qemu/qemu_blockjob.h         |    3 +-
 src/qemu/qemu_checkpoint.c       |   39 +-
 src/qemu/qemu_domain.c           |  657 +++++++++++++--
 src/qemu/qemu_domain.h           |  106 ++-
 src/qemu/qemu_domainjob.c        | 1291 ------------------------------
 src/qemu/qemu_domainjob.h        |  291 -------
 src/qemu/qemu_driver.c           | 1186 ++++++++++++++-------------
 src/qemu/qemu_hotplug.c          |  335 ++++----
 src/qemu/qemu_hotplug.h          |   38 +-
 src/qemu/qemu_migration.c        |  594 +++++++-------
 src/qemu/qemu_migration.h        |   20 +-
 src/qemu/qemu_migration_cookie.c |   17 +-
 src/qemu/qemu_migration_params.c |   52 +-
 src/qemu/qemu_migration_params.h |   15 +-
 src/qemu/qemu_process.c          |  462 ++++++-----
 src/qemu/qemu_process.h          |   37 +-
 src/qemu/qemu_saveimage.c        |    4 +-
 src/qemu/qemu_saveimage.h        |    6 +-
 src/qemu/qemu_snapshot.c         |  111 ++-
 tests/qemuhotplugtest.c          |    2 +-
 32 files changed, 3323 insertions(+), 3301 deletions(-)
 create mode 100644 src/hypervisor/virdomainjob.c
 create mode 100644 src/hypervisor/virdomainjob.h
 delete mode 100644 src/qemu/qemu_domainjob.c
 delete mode 100644 src/qemu/qemu_domainjob.h

-- 
2.25.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]