[libvirt] [PATCH v2 00/11] Grab modify job for changing domain XML

Michal Privoznik mprivozn at redhat.com
Wed Jun 5 09:09:08 UTC 2019


v2 of:

https://www.redhat.com/archives/libvir-list/2019-May/msg00858.html

diff to v1:
- 1/9 from the original series is pushed now. It's independent from the
  feature.
- Acquiring job is done in a way suggested by Nikolay in review of v1.

Michal Prívozník (11):
  virDomainObjListAddObjLocked: Don't expect vm->def to be set
  virDomainObjListAddLocked: Set vm->def only in success path
  virDomainObjIsActive: Allow vm->def to be NULL
  virDomainObjListAdd: Leave def assigning as an exercise for caller
  virDomainObjListAdd: Remove unused flag
  qemu: Grab modify job for changing domain XML
  qemu_domain: Allow qemuDomainObjListAdd to keep job upon return
  lxc: Grab modify job for changing domain XML
  lxc_domain: Allow lxcDomainObjListAdd to keep job upon return
  libxl: Grab modify job for changing domain XML
  libxl_domain: Allow libxlDomainObjListAdd to keep job upon return

 src/bhyve/bhyve_driver.c    | 10 +++---
 src/conf/domain_conf.h      |  2 +-
 src/conf/virdomainobjlist.c | 44 +++++++++---------------
 src/conf/virdomainobjlist.h |  6 ++--
 src/libxl/libxl_domain.c    | 68 +++++++++++++++++++++++++++++++++++++
 src/libxl/libxl_domain.h    |  8 +++++
 src/libxl/libxl_driver.c    | 40 +++++-----------------
 src/libxl/libxl_migration.c | 28 +++------------
 src/lxc/lxc_domain.c        | 68 +++++++++++++++++++++++++++++++++++++
 src/lxc/lxc_domain.h        |  8 +++++
 src/lxc/lxc_driver.c        | 28 ++++++---------
 src/openvz/openvz_conf.c    | 12 +++----
 src/openvz/openvz_driver.c  | 17 +++++-----
 src/qemu/qemu_domain.c      | 66 +++++++++++++++++++++++++++++++++++
 src/qemu/qemu_domain.h      |  7 ++++
 src/qemu/qemu_driver.c      | 43 ++++++++---------------
 src/qemu/qemu_migration.c   |  7 ++--
 src/test/test_driver.c      | 21 +++++++-----
 src/vmware/vmware_conf.c    |  4 +--
 src/vmware/vmware_driver.c  |  9 +++--
 src/vz/vz_sdk.c             |  4 ++-
 21 files changed, 326 insertions(+), 174 deletions(-)

-- 
2.21.0




More information about the libvir-list mailing list