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

Kristina Hanicova posted 3 patches 2 years, 8 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1628255094.git.khanicov@redhat.com
There is a newer version of this series
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/test/test_driver.c                  |  4 +--
tests/interfacexml2xmltest.c            |  2 +-
tools/virsh-interface.c                 | 10 ++++++-
8 files changed, 51 insertions(+), 21 deletions(-)
[PATCH 0/3] interface define: add support for validation against schema
Posted by Kristina Hanicova 2 years, 8 months ago
This is just the first series of patches of many more. I will send them
soon, I just wanted to know if I am on the right path as they will
follow the same pattern.

Partially resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1972586

Kristina Hanicova (3):
  conf: propagate xmlDocPtr and flags into virInterfaceDefParseXML()
  virsh: add support for '--validate' option in define interface
  interface_conf: add validation against schema in define

 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/test/test_driver.c                  |  4 +--
 tests/interfacexml2xmltest.c            |  2 +-
 tools/virsh-interface.c                 | 10 ++++++-
 8 files changed, 51 insertions(+), 21 deletions(-)

-- 
2.31.1