[PATCH v2 0/4] interface define: add support for validation against schema

Kristina Hanicova khanicov at redhat.com
Tue Aug 10 14:18:05 UTC 2021


On Fri, Aug 6, 2021 at 4:26 PM Kristina Hanicova <khanicov at redhat.com>
wrote:

> This is v2 of:
> https://listman.redhat.com/archives/libvir-list/2021-August/msg00187.html
>
> Changes since v1 (suggested by Peter):
> * split of the patch containing api and virsh adjustments into separate
>   patches
> * change of documentation (which I forgot to do before)
>
> Kristina Hanicova (4):
>   conf: propagate xmlDocPtr and flags into virInterfaceDefParseXML()
>   api: add virInterfaceDefineFlags
>   virsh: add support for '--validate' option in define interface
>   interface_conf: add validation against schema in define
>
>  docs/manpages/virsh.rst                 |  5 ++--
>  include/libvirt/libvirt-interface.h     |  4 +++
>  src/conf/interface_conf.c               | 38 ++++++++++++++++++-------
>  src/conf/interface_conf.h               |  6 ++--
>  src/conf/virinterfaceobj.c              |  2 +-
>  src/interface/interface_backend_netcf.c |  6 ++--
>  src/libvirt-interface.c                 |  2 +-
>  src/test/test_driver.c                  |  4 +--
>  tests/interfacexml2xmltest.c            |  2 +-
>  tools/virsh-interface.c                 | 10 ++++++-
>  10 files changed, 55 insertions(+), 24 deletions(-)
>
> --
> 2.31.1
>
>
Hello,
please ignore this series, I came up with a better idea.
Will send patches soon.

Kristina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210810/cf934d1a/attachment-0001.htm>


More information about the libvir-list mailing list