[PATCH] rng: Move sgio attr definition to a separate block

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

 



it might be worth having sgio attribute defined in a separate block the same way
as rawio attribute.
---
As Jan suggested, I moved unrelated hunks into a separate commit and then
pushed it as trivial.
Erik

 docs/schemas/domaincommon.rng | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 9cc5e76..19461f5 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -1193,12 +1193,7 @@
             <ref name="rawIO"/>
           </optional>
           <optional>
-            <attribute name="sgio">
-              <choice>
-                <value>filtered</value>
-                <value>unfiltered</value>
-              </choice>
-            </attribute>
+            <ref name="sgIO"/>
           </optional>
           <interleave>
             <choice>
@@ -3680,12 +3675,7 @@
       <value>scsi</value>
     </attribute>
     <optional>
-      <attribute name="sgio">
-        <choice>
-          <value>filtered</value>
-          <value>unfiltered</value>
-        </choice>
-      </attribute>
+        <ref name="sgIO"/>
     </optional>
     <optional>
       <ref name="rawIO"/>
@@ -5190,4 +5180,12 @@
       <ref name="virYesNo"/>
     </attribute>
   </define>
+  <define name="sgIO">
+    <attribute name="sgio">
+      <choice>
+        <value>filtered</value>
+        <value>unfiltered</value>
+      </choice>
+    </attribute>
+  </define>
 </grammar>
-- 
1.9.3

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