[libvirt PATCH v2 0/6] Refactor more XML parsing boilerplate code, part X

Laine Stump laine at redhat.com
Fri May 14 15:12:09 UTC 2021


On 5/13/21 11:31 AM, Tim Wiederhake wrote:
> For background, see
> https://listman.redhat.com/archives/libvir-list/2021-April/msg00668.html
> 
> Changes since V1:
> * Split up VIR_FREE'd and reused ´g_autofree xmlNodePtr *´ variables.
> 
> Tim Wiederhake (6):
>    virNodeDeviceDefParseXML: Use g_auto*
>    virDomainNumatuneNodeParseXML: Use virXMLProp*
>    virDomainNumatuneNodeParseXML: Use g_autofree
>    virDomainNumaDefNodeDistanceParseXML: Use virXMLProp*
>    virDomainNumaDefParseXML: Use virXMLProp*
>    virDomainNumaDefParseXML: Use g_autofree
> 
>   src/conf/node_device_conf.c                   |  44 ++-
>   src/conf/numa_conf.c                          | 305 ++++++------------
>   .../hugepages-memaccess-invalid.err           |   2 +-
>   3 files changed, 110 insertions(+), 241 deletions(-)
> 

Reviewed-by: Laine Stump <laine at redhat.com>

I'll push them as soon as simple smoke test build has completed




More information about the libvir-list mailing list