[libvirt] [PATCH 2/2] schema: Allow interleaving the /domain/os/type element

Peter Krempa pkrempa at redhat.com
Wed Feb 25 10:22:01 UTC 2015


The element wasn't declared under the interleave thus it was required
always to be first. This made it inconvenient when pasting new stuff to
the XML manually in the "wrong" space.
---
 docs/schemas/domaincommon.rng | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index d293747..4e5a0b3 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -242,8 +242,8 @@
       <ref name="bootloader"/>
     </optional>
     <element name="os">
-      <ref name="ostypehvm"/>
       <interleave>
+        <ref name="ostypehvm"/>
         <optional>
           <element name="loader">
             <optional>
-- 
2.2.2




More information about the libvir-list mailing list