[PATCH 0/7] virDomainNetDefFormat: Modernize XML formatting

Michal Privoznik mprivozn at redhat.com
Tue Jan 31 16:44:14 UTC 2023


A bit. After these, the function is still long and could be broken into
smaller ones, but let's leave that as an exercise for future us.

Michal Prívozník (7):
  qemuxml2xmloutdata: Turn net-mtu.xml into a symlink
  virDomainNetDefFormat: Rename @attrBuf to @targetAttrBuf
  virDomainNetDefFormat: Modernize <tune/> formatting
  virDomainNetDefFormat: Modernize <guest/> formatting
  virDomainNetDefFormat: Modernize <source/> formatting
  virDomainNetDefFormat: Simplify @sourceAttrBuf handling for some types
    of VIR_DOMAIN_NET
  virDomainNetDefFormat: Modernize <mac/> formatting

 src/conf/domain_conf.c               | 151 ++++++++++-----------------
 tests/qemuxml2argvdata/net-mtu.xml   |  26 +++--
 tests/qemuxml2xmloutdata/net-mtu.xml |  72 +------------
 3 files changed, 74 insertions(+), 175 deletions(-)
 mode change 100644 => 120000 tests/qemuxml2xmloutdata/net-mtu.xml

-- 
2.39.1



More information about the libvir-list mailing list