[PATCH v3 0/3] Add schema validation for domain XML

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A followup to

  https://www.redhat.com/archives/libvir-list/2015-January/msg00203.html

In this posting, the 3 remaining patches only are posted:

  - Catch errors parsing RNG schema
  - Use virFileFindResource for findning RNG
  - Don't enable validation by default in virsh define/create
  - Other misc typos

Daniel P. Berrange (3):
  Add virXMLValidateAgainstSchema helper method
  Add support for schema validation when passing in XML
  virsh: add support for domain XML validation

 include/libvirt/libvirt-domain.h |  5 +++
 include/libvirt/virterror.h      |  1 +
 src/bhyve/bhyve_driver.c         | 16 ++++++--
 src/conf/domain_conf.c           | 11 +++++
 src/conf/domain_conf.h           |  1 +
 src/esx/esx_driver.c             |  8 +++-
 src/internal.h                   |  4 ++
 src/libvirt-domain.c             |  2 +-
 src/libvirt_private.syms         |  1 +
 src/libxl/libxl_driver.c         | 17 ++++++--
 src/lxc/lxc_driver.c             | 18 +++++++--
 src/openvz/openvz_driver.c       | 16 ++++++--
 src/parallels/parallels_driver.c |  8 +++-
 src/phyp/phyp_driver.c           |  8 +++-
 src/qemu/qemu_driver.c           | 16 ++++++--
 src/test/test_driver.c           | 16 ++++++--
 src/uml/uml_driver.c             | 17 ++++++--
 src/util/virerror.c              |  6 +++
 src/util/virxml.c                | 79 ++++++++++++++++++++++++++++++++++++
 src/util/virxml.h                |  5 +++
 src/vbox/vbox_common.c           |  8 +++-
 src/vmware/vmware_driver.c       | 16 ++++++--
 src/xen/xen_driver.c             | 16 ++++++--
 src/xenapi/xenapi_driver.c       | 17 ++++++--
 tools/virsh-domain.c             | 87 +++++++++++++++++++++++++++++++++++-----
 25 files changed, 341 insertions(+), 58 deletions(-)

-- 
2.1.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]