[libvirt] [PATCH 00/23] conf: domain: Buffer and XPath handling refactors

Peter Krempa posted 23 patches 5 years, 1 month ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1551859940.git.pkrempa@redhat.com
src/conf/domain_conf.c                        | 1184 +++++++----------
src/util/virxml.h                             |    3 +-
.../lxcconf2xmldata/lxcconf2xml-blkiotune.xml |    3 +-
.../lxcconf2xml-cpusettune.xml                |    3 +-
tests/lxcconf2xmldata/lxcconf2xml-cputune.xml |    3 +-
tests/lxcconf2xmldata/lxcconf2xml-idmap.xml   |    3 +-
.../lxcconf2xml-macvlannetwork.xml            |    3 +-
tests/lxcconf2xmldata/lxcconf2xml-memtune.xml |    3 +-
.../lxcconf2xml-miscnetwork.xml               |    3 +-
.../lxcconf2xml-nonenetwork.xml               |    3 +-
.../lxcconf2xmldata/lxcconf2xml-nonetwork.xml |    3 +-
.../lxcconf2xml-physnetwork.xml               |    3 +-
.../lxcconf2xml-vlannetwork.xml               |    3 +-
13 files changed, 485 insertions(+), 735 deletions(-)
[libvirt] [PATCH 00/23] conf: domain: Buffer and XPath handling refactors
Posted by Peter Krempa 5 years, 1 month ago
Peter Krempa (23):
  util: xml: Enforce return value check from virXMLFormatElement
  conf: Use virXMLFormatElement in virDomainControllerDriverFormat
  conf: Use virXMLFormatElement in virDomainControllerDefFormat
  conf: Refactor virDomainMemballoonDefFormat
  conf: Refactor virDomainWatchdogDefFormat
  conf: Refactor virDomainPanicDefFormat
  conf: Refactor formatting of 'driver' in virDomainRNGDefFormat
  conf: Refactor virDomainInputDefFormat
  conf: Refactor virDomainHubDefFormat
  conf: Split out formatting of 'blkiotune' from
    virDomainDefFormatInternal
  conf: Split out domain features formatting from
    virDomainDefFormatInternal
  conf: Refactor control flow in virDomainDefFormatFeatures
  conf: Rename temp buffers in virDomainDefFormatFeatures
  conf: Remove impossible error in virDomainDefFormatFeatures
  conf: Simplify lifecycle of temp buffers in virDomainDefFormatFeatures
  conf: Avoid extra set of temp buffers in virDomainDefFormatFeatures
  conf: Avoid extra scope when formatting 'smm' feature
  conf: Avoid formatting empty <capabilities> element
  conf: Refactor formating of 'capabilities' features
  conf: Use virXMLFormatElement in virDomainDefFormatFeatures
  conf: domain: Use VIR_AUTOCLEAN(virBuffer) where appropriate
  conf: Move XPath context node in descendants of virSysinfoParseXML
  conf: domain: Use VIR_XPATH_NODE_AUTORESTORE where appropriate

 src/conf/domain_conf.c                        | 1184 +++++++----------
 src/util/virxml.h                             |    3 +-
 .../lxcconf2xmldata/lxcconf2xml-blkiotune.xml |    3 +-
 .../lxcconf2xml-cpusettune.xml                |    3 +-
 tests/lxcconf2xmldata/lxcconf2xml-cputune.xml |    3 +-
 tests/lxcconf2xmldata/lxcconf2xml-idmap.xml   |    3 +-
 .../lxcconf2xml-macvlannetwork.xml            |    3 +-
 tests/lxcconf2xmldata/lxcconf2xml-memtune.xml |    3 +-
 .../lxcconf2xml-miscnetwork.xml               |    3 +-
 .../lxcconf2xml-nonenetwork.xml               |    3 +-
 .../lxcconf2xmldata/lxcconf2xml-nonetwork.xml |    3 +-
 .../lxcconf2xml-physnetwork.xml               |    3 +-
 .../lxcconf2xml-vlannetwork.xml               |    3 +-
 13 files changed, 485 insertions(+), 735 deletions(-)

-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list