[PATCH] virt-xml-validate: Add support for cpu and domaincheckpoint

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

 



Signed-off-by: Han Han <hhan@xxxxxxxxxx>
---
 tools/virt-xml-validate.in | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tools/virt-xml-validate.in b/tools/virt-xml-validate.in
index 249bcf7eef..a818e2c3a5 100644
--- a/tools/virt-xml-validate.in
+++ b/tools/virt-xml-validate.in
@@ -77,6 +77,9 @@ if [ -z "$TYPE" ]; then
      *domainsnapshot*) # Must come first, since *domain* is a substring
         TYPE="domainsnapshot"
         ;;
+     *domaincheckpoint*)
+        TYPE="domaincheckpoint"
+        ;;
      *domain*)
         TYPE="domain"
         ;;
@@ -110,6 +113,9 @@ if [ -z "$TYPE" ]; then
      *interface*)
         TYPE="interface"
         ;;
+     *cpu*)
+        TYPE="cpu"
+        ;;
      *)
        echo "$0: cannot determine schema type for $XMLFILE" >&2
        exit 3
-- 
2.33.1




[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]

  Powered by Linux