[libvirt PATCH v2 00/11] Refactor more XML parsing boilerplate code, part V

Tim Wiederhake posted 11 patches 3 weeks, 3 days ago
Failed in applying to current master (apply log)
Test syntax-check failed
src/conf/domain_conf.c         | 643 +++++++++++----------------------
src/conf/domain_conf.h         |   8 +-
src/qemu/qemu_domain_address.c |   2 +-
src/util/virxml.c              |   2 +-
4 files changed, 227 insertions(+), 428 deletions(-)

[libvirt PATCH v2 00/11] Refactor more XML parsing boilerplate code, part V

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

Changes since V1:
* Split up patch for virDomainControllerDefParseXML
* Code style fixes

Tim Wiederhake (11):
  virXMLPropEnum: Fix return value
  virDomainControllerDef: Change type of ioeventfd to virTristateSwitch
  virDomainPCIControllerOpts: Change type of modelName to
    virDomainControllerPCIModelName
  virDomainControllerDefParseXML: Use virXMLProp*
  virDomainControllerDefParseXML: Cosmetic changes
  virDomainActualNetDef: Change type of type to virDomainNetType
  virDomainActualNetDefParseXML: Use virXMLProp*
  virDomainNetDefParseXML: Use virXMLProp*
  virDomainGraphicsListenDefParseXML: Use virXMLProp*
  virDomainGraphicsDef: Change type of sharePolicy to
    virDomainGraphicsVNCSharePolicy
  virDomainGraphicsDefParseXMLVNC: Use virXMLProp*

 src/conf/domain_conf.c         | 643 +++++++++++----------------------
 src/conf/domain_conf.h         |   8 +-
 src/qemu/qemu_domain_address.c |   2 +-
 src/util/virxml.c              |   2 +-
 4 files changed, 227 insertions(+), 428 deletions(-)

-- 
2.26.3


Re: [libvirt PATCH v2 00/11] Refactor more XML parsing boilerplate code, part V

Posted by Ján Tomko 2 weeks, 6 days ago
On a Friday in 2021, Tim Wiederhake wrote:
>For background, see
>https://listman.redhat.com/archives/libvir-list/2021-April/msg00668.html
>
>Changes since V1:
>* Split up patch for virDomainControllerDefParseXML
>* Code style fixes
>
>Tim Wiederhake (11):
>  virXMLPropEnum: Fix return value
>  virDomainControllerDef: Change type of ioeventfd to virTristateSwitch
>  virDomainPCIControllerOpts: Change type of modelName to
>    virDomainControllerPCIModelName
>  virDomainControllerDefParseXML: Use virXMLProp*
>  virDomainControllerDefParseXML: Cosmetic changes
>  virDomainActualNetDef: Change type of type to virDomainNetType
>  virDomainActualNetDefParseXML: Use virXMLProp*
>  virDomainNetDefParseXML: Use virXMLProp*
>  virDomainGraphicsListenDefParseXML: Use virXMLProp*
>  virDomainGraphicsDef: Change type of sharePolicy to
>    virDomainGraphicsVNCSharePolicy
>  virDomainGraphicsDefParseXMLVNC: Use virXMLProp*
>
> src/conf/domain_conf.c         | 643 +++++++++++----------------------
> src/conf/domain_conf.h         |   8 +-
> src/qemu/qemu_domain_address.c |   2 +-
> src/util/virxml.c              |   2 +-
> 4 files changed, 227 insertions(+), 428 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano