[libvirt] [PATCH] tools: fix XML validator detection of network port XML schema

Daniel P. Berrangé posted 1 patch 4 years, 7 months ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20190912131225.15446-1-berrange@redhat.com
tools/virt-xml-validate.in | 3 +++
1 file changed, 3 insertions(+)
[libvirt] [PATCH] tools: fix XML validator detection of network port XML schema
Posted by Daniel P. Berrangé 4 years, 7 months ago
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
 tools/virt-xml-validate.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/virt-xml-validate.in b/tools/virt-xml-validate.in
index 5cb7dcd276..249bcf7eef 100644
--- a/tools/virt-xml-validate.in
+++ b/tools/virt-xml-validate.in
@@ -80,6 +80,9 @@ if [ -z "$TYPE" ]; then
      *domain*)
         TYPE="domain"
         ;;
+     *networkport*)
+        TYPE="networkport"
+        ;;
      *network*)
         TYPE="network"
         ;;
-- 
2.21.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH] tools: fix XML validator detection of network port XML schema
Posted by Michal Privoznik 4 years, 7 months ago
On 9/12/19 3:12 PM, Daniel P. Berrangé wrote:
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
>   tools/virt-xml-validate.in | 3 +++
>   1 file changed, 3 insertions(+)

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>

Michal

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