[libvirt] [PATCH 0/n] round 2 of storage chain refactoring

Eric Blake eblake at redhat.com
Wed Mar 26 23:09:47 UTC 2014


In round 1, I split out a new struct in domain_conf.h.  This starts
round 2: moving the struct into util/virstoragefile.h, so it can be
shared by domain, snapshot, and existing virstoragefile backing
chain operations.  It's turned out to be a bigger process than I
first thought, so I've tried splitting it into smaller patches
to ease review.  I also want to get review started on the parts
I have compiling, while still working on the rest of the series,
since I know that at least Peter will be heavily impacted by
some of the changes in this series.

Eric Blake (2):
  conf: split security label structs to util/
  conf: split network host structs to util/

 src/Makefile.am                       |   1 +
 src/conf/domain_conf.c                | 139 +++-------------------------------
 src/conf/domain_conf.h                |  71 +----------------
 src/conf/snapshot_conf.c              |   5 +-
 src/conf/snapshot_conf.h              |   4 +-
 src/libvirt_private.syms              |  21 ++---
 src/qemu/qemu_command.c               |  38 +++++-----
 src/qemu/qemu_command.h               |   6 +-
 src/qemu/qemu_conf.c                  |   4 +-
 src/qemu/qemu_driver.c                |  24 +++---
 src/qemu/qemu_process.c               |   2 +-
 src/security/security_manager.c       |   2 +-
 src/security/security_selinux.c       |   2 +-
 src/storage/storage_backend_gluster.c |   8 +-
 src/storage/storage_driver.c          |   8 +-
 src/storage/storage_driver.h          |   2 +-
 src/util/virseclabel.c                |  82 ++++++++++++++++++++
 src/util/virseclabel.h                |  67 ++++++++++++++++
 src/util/virstoragefile.c             |  71 ++++++++++++++++-
 src/util/virstoragefile.h             |  30 +++++++-
 20 files changed, 328 insertions(+), 259 deletions(-)
 create mode 100644 src/util/virseclabel.c
 create mode 100644 src/util/virseclabel.h

-- 
1.8.5.3




More information about the libvir-list mailing list