[libvirt] [PATCH 2/9] conf: Make backing store index optional

Peter Krempa pkrempa at redhat.com
Thu Oct 12 19:07:33 UTC 2017


Index will remain an internal property even if we allow backing store
parsing from the XML, so we need to allow backing store without it in
the schema.
---
 docs/schemas/domaincommon.rng | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 4dbda6932..a3aa6eba2 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -1415,9 +1415,11 @@

   <define name="diskBackingStore">
     <element name="backingStore">
+     <optional>
       <attribute name="index">
         <ref name="positiveInteger"/>
       </attribute>
+    </optional>
       <interleave>
         <ref name="diskSource"/>
         <ref name="diskBackingChain"/>
-- 
2.14.1




More information about the libvir-list mailing list