[libvirt] [PATCH 00/18] split virDomainDiskDef

Eric Blake eblake at redhat.com
Wed Mar 19 17:20:32 UTC 2014


I still have quite a bit of work to consolidate util/virStorageFile,
conf/snapshot_conf.c, and the new struct in this series to all share
the same common struct (basically, moving the struct created in
this series over to util).  But by refactoring the most common
accesses to go through functions instead of direct field access,
I've limited the amount of code that is actually impacted by
using the new struct.  In general, this series should not be
changing any behavior.

Eric Blake (18):
  conf: accessors for common source information
  conf: use disk source accessors in conf/
  conf: use disk source accessors in bhyve/
  conf: use disk source accessors in esx/
  conf: use disk source accessors in libxl/
  conf: use disk source accessors in locking/
  conf: use disk source accessors in lxc/
  conf: use disk source accessors in parallels/
  conf: use disk source accessors in phyp/
  conf: use disk source accessors in qemu/
  conf: use disk source accessors in security/
  conf: use disk source accessors in uml/
  conf: use disk source accessors in vbox/
  conf: use disk source accessors in vmware/
  conf: use disk source accessors in vmx/
  conf: use disk source accessors in xen/
  conf: use disk source accessors in xenxs/
  conf: prepare to track multiple host source files per <disk>

 src/bhyve/bhyve_command.c        |   9 +-
 src/conf/domain_audit.c          |   7 +-
 src/conf/domain_conf.c           | 253 +++++++++++++++++++++-----------
 src/conf/domain_conf.h           |  47 ++++--
 src/conf/snapshot_conf.c         |   2 +-
 src/esx/esx_driver.c             |  26 ++--
 src/libvirt_private.syms         |   8 +
 src/libxl/libxl_conf.c           |  50 ++++---
 src/libxl/libxl_driver.c         |  26 ++--
 src/locking/domain_lock.c        |  19 ++-
 src/lxc/lxc_cgroup.c             |   6 +-
 src/lxc/lxc_controller.c         |  77 +++++-----
 src/lxc/lxc_driver.c             |  35 +++--
 src/parallels/parallels_driver.c |  31 ++--
 src/phyp/phyp_driver.c           |  10 +-
 src/qemu/qemu_command.c          | 308 ++++++++++++++++++++-------------------
 src/qemu/qemu_conf.c             | 108 +++++++-------
 src/qemu/qemu_domain.c           |  60 ++++----
 src/qemu/qemu_driver.c           | 203 +++++++++++++-------------
 src/qemu/qemu_hotplug.c          | 116 ++++++++-------
 src/qemu/qemu_migration.c        |  21 +--
 src/qemu/qemu_process.c          |  19 +--
 src/security/security_dac.c      |  17 ++-
 src/security/security_selinux.c  |  20 +--
 src/storage/storage_driver.c     |   8 +-
 src/uml/uml_conf.c               |   4 +-
 src/uml/uml_driver.c             |   5 +-
 src/vbox/vbox_tmpl.c             | 137 +++++++++--------
 src/vmware/vmware_conf.c         |  18 ++-
 src/vmware/vmware_conf.h         |   6 +-
 src/vmx/vmx.c                    | 113 ++++++++------
 src/xen/xend_internal.c          |  11 +-
 src/xenxs/xen_sxpr.c             | 111 +++++++-------
 src/xenxs/xen_xm.c               | 113 +++++++-------
 tests/securityselinuxlabeltest.c |   8 +-
 35 files changed, 1119 insertions(+), 893 deletions(-)

-- 
1.8.5.3




More information about the libvir-list mailing list