[PATCH] schema: Move timer element inside clock

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

 



Both conf/domain_conf.c and domain XML documentation have <timer>
elements inside /domain/clock. Change domain.rng schema to be consistent
with them.
---
 docs/schemas/domain.rng |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/docs/schemas/domain.rng b/docs/schemas/domain.rng
index aaf9667..5a8576c 100644
--- a/docs/schemas/domain.rng
+++ b/docs/schemas/domain.rng
@@ -348,9 +348,6 @@
     </interleave>
   </define>
   <define name="clock">
-    <zeroOrMore>
-      <ref name="timer"/>
-    </zeroOrMore>
     <optional>
       <element name="clock">
         <choice>
@@ -381,7 +378,9 @@
             </optional>
           </group>
         </choice>
-        <empty/>
+        <zeroOrMore>
+          <ref name="timer"/>
+        </zeroOrMore>
       </element>
     </optional>
   </define>
-- 
1.7.3.2

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