[PATCH 0/5] Some parsing functions refactor

Kirill Shchetiniuk via Devel posted 5 patches 5 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20250707160426.184333-1-kshcheti@redhat.com
There is a newer version of this series
src/conf/domain_conf.c                        |  28 +---
src/conf/netdev_vport_profile_conf.c          | 120 +++++++-----------
src/qemu/qemu_domain.c                        |  16 +--
src/util/virsecret.c                          |  19 +--
...mdev-src-address-invalid.x86_64-latest.err |   2 +-
5 files changed, 60 insertions(+), 125 deletions(-)
[PATCH 0/5] Some parsing functions refactor
Posted by Kirill Shchetiniuk via Devel 5 months, 1 week ago
This patch series is supposed to refactor the existing logic of
some parsing functions, changing the previous approach of getting
the string fisrt and then parsing the string itself. Now the
parsing logic is implemented by using the appropriate virXMLProp*
functions.

In some places the error reporter was changed along with the reported
error message and this change was also reflected in exsiting test cases.

Kirill Shchetiniuk (5):
  conf: virNetDevVPortProfileParse refactor
  conf: virDomainHostdevSubsysMediatedDevDefParseXML refactor
  util: virSecretLookupParseSecret refactor
  conf: virDomainChrDefParseTargetXML refactor
  qemu: qemuDomainObjPrivateXMLParseVcpu refactor

 src/conf/domain_conf.c                        |  28 +---
 src/conf/netdev_vport_profile_conf.c          | 120 +++++++-----------
 src/qemu/qemu_domain.c                        |  16 +--
 src/util/virsecret.c                          |  19 +--
 ...mdev-src-address-invalid.x86_64-latest.err |   2 +-
 5 files changed, 60 insertions(+), 125 deletions(-)

--
2.49.0