[libvirt] [PATCH 00/10] conf: Make disk source parsing cleaner and reusable

Peter Krempa pkrempa at redhat.com
Tue Mar 13 14:37:26 UTC 2018


Fixup and cleanup the disk source parsing code and make it usable in
other parts of the code by exporting it.

Peter Krempa (10):
  conf: Remove unnecessary condition from
    virDomainDiskSourceFormatInternal
  conf: Refactor seclabel formatting in
    virDomainDiskSourceFormatInternal
  conf: Remove virDomainDiskSourceDefFormatSeclabel
  conf: Refactor formatting of startupPolicy in
    virDomainDiskSourceFormatInternal
  conf: disk: Separate virStorageSource formatting
  conf: Validate disk source configuration also for the backing store
  conf: Separate seclabel validation from parsing
  conf: Parse and validate disk source seclabels together with the
    source
  conf: Extract parsing of storage source related data
  conf: Add and export wrapper for parsing storage source XML

 src/conf/domain_conf.c   | 402 ++++++++++++++++++++++++++++-------------------
 src/conf/domain_conf.h   |  13 ++
 src/libvirt_private.syms |   2 +
 3 files changed, 254 insertions(+), 163 deletions(-)

-- 
2.16.2




More information about the libvir-list mailing list