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

Kristina Hanicova khanicov at redhat.com
Fri Aug 6 13:08:13 UTC 2021


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




More information about the libvir-list mailing list