[libvirt PATCH 00/10] Refactor more XML parsing boilerplate code, part VII

Tim Wiederhake posted 10 patches 2 weeks, 6 days ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20210427150441.206606-1-twiederh@redhat.com
src/conf/domain_conf.c         | 268 ++++++++++-----------------------
src/conf/domain_conf.h         |   9 +-
src/libxl/libxl_conf.c         |   8 +-
src/qemu/qemu_command.c        |   4 +-
src/qemu/qemu_domain_address.c |   2 +-
src/qemu/qemu_hotplug.c        |   4 +-
src/qemu/qemu_monitor.c        |   2 +-
src/qemu/qemu_validate.c       |   5 +
src/security/virt-aa-helper.c  |   4 +
9 files changed, 100 insertions(+), 206 deletions(-)

[libvirt PATCH 00/10] Refactor more XML parsing boilerplate code, part VII

Posted by Tim Wiederhake 2 weeks, 6 days ago
For background, see
https://listman.redhat.com/archives/libvir-list/2021-April/msg00668.html

Tim Wiederhake (10):
  virDomainAudioIOCommon: Change type of format to virDomainAudioFormat
  virDomainAudioCommonParse: Use virXMLProp*
  virDomainMemballoonDef: Change type of model to
    virDomainMemballoonModel
  virDomainMemballoonDefParseXML: Use virXMLProp*
  virDomainShmemDef: Change type of model to virDomainShmemModel
  virDomainShmemDef: Change type of role to virDomainShmemRole
  virDomainShmemDefParseXML: Use virXMLProp*
  conf: domain: Register autoptr cleanup function for virDomainDeviceDef
  virDomainShmemDef: Use g_auto*
  virDomainRedirFilterUSBDevDefParseXML: Use virXMLProp*

 src/conf/domain_conf.c         | 268 ++++++++++-----------------------
 src/conf/domain_conf.h         |   9 +-
 src/libxl/libxl_conf.c         |   8 +-
 src/qemu/qemu_command.c        |   4 +-
 src/qemu/qemu_domain_address.c |   2 +-
 src/qemu/qemu_hotplug.c        |   4 +-
 src/qemu/qemu_monitor.c        |   2 +-
 src/qemu/qemu_validate.c       |   5 +
 src/security/virt-aa-helper.c  |   4 +
 9 files changed, 100 insertions(+), 206 deletions(-)

-- 
2.26.3


Re: [libvirt PATCH 00/10] Refactor more XML parsing boilerplate code, part VII

Posted by Ján Tomko 1 week, 4 days ago
On a Tuesday in 2021, Tim Wiederhake wrote:
>For background, see
>https://listman.redhat.com/archives/libvir-list/2021-April/msg00668.html
>
>Tim Wiederhake (10):
>  virDomainAudioIOCommon: Change type of format to virDomainAudioFormat
>  virDomainAudioCommonParse: Use virXMLProp*
>  virDomainMemballoonDef: Change type of model to
>    virDomainMemballoonModel
>  virDomainMemballoonDefParseXML: Use virXMLProp*
>  virDomainShmemDef: Change type of model to virDomainShmemModel
>  virDomainShmemDef: Change type of role to virDomainShmemRole
>  virDomainShmemDefParseXML: Use virXMLProp*
>  conf: domain: Register autoptr cleanup function for virDomainDeviceDef
>  virDomainShmemDef: Use g_auto*
>  virDomainRedirFilterUSBDevDefParseXML: Use virXMLProp*
>
> src/conf/domain_conf.c         | 268 ++++++++++-----------------------
> src/conf/domain_conf.h         |   9 +-
> src/libxl/libxl_conf.c         |   8 +-
> src/qemu/qemu_command.c        |   4 +-
> src/qemu/qemu_domain_address.c |   2 +-
> src/qemu/qemu_hotplug.c        |   4 +-
> src/qemu/qemu_monitor.c        |   2 +-
> src/qemu/qemu_validate.c       |   5 +
> src/security/virt-aa-helper.c  |   4 +
> 9 files changed, 100 insertions(+), 206 deletions(-)
>

Now pushed.

Jano