[libvirt] [PATCH] tools: add missing 'interface' type and update man page

Alex Jia ajia at redhat.com
Wed Sep 11 03:47:14 UTC 2013


Signed-off-by: Alex Jia <ajia at redhat.com>
---
 tools/virt-xml-validate.in |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/tools/virt-xml-validate.in b/tools/virt-xml-validate.in
index 6bfa68f..8be9595 100644
--- a/tools/virt-xml-validate.in
+++ b/tools/virt-xml-validate.in
@@ -83,6 +83,9 @@ if [ -z "$TYPE" ]; then
      *secret*)
         TYPE="secret"
         ;;
+     *interface*)
+        TYPE="interface"
+        ;;
      *)
        echo "$0: cannot determine schema type for $XMLFILE" >&2
        exit 3
@@ -124,6 +127,10 @@ Valid schema names currently include
 
 =over 4
 
+=item C<domainsnapshot>
+
+The schema for the XML format used by domain snapshot configuration
+
 =item C<domain>
 
 The schema for the XML format used by guest domains configuration
@@ -148,6 +155,18 @@ The schema for the XML format used by node device descriptions
 
 The schema for the XML format used to declare driver capabilities
 
+=item C<nwfilter>
+
+The schema for the XML format used by network traffic filters
+
+=item C<secret>
+
+The schema for the XML format used by secrets descriptions
+
+=item C<interface>
+
+The schema for the XML format used by virtual interface
+
 =back
 
 =head1 OPTIONS
-- 
1.7.1




More information about the libvir-list mailing list