This will be used to configure the backing storage used by the
uefi-vars QEMU device.

Best viewed with 'git show -w'.

Signed-off-by: Andrea Bolognani <[email protected]>
---
 src/conf/schemas/domaincommon.rng | 64 +++++++++++++++++++------------
 1 file changed, 40 insertions(+), 24 deletions(-)

diff --git a/src/conf/schemas/domaincommon.rng 
b/src/conf/schemas/domaincommon.rng
index e659900687..be1da54526 100644
--- a/src/conf/schemas/domaincommon.rng
+++ b/src/conf/schemas/domaincommon.rng
@@ -349,31 +349,47 @@
             </element>
           </optional>
           <optional>
-            <element name="nvram">
-              <optional>
-                <attribute name="template">
-                  <ref name="absFilePath"/>
-                </attribute>
-              </optional>
-              <optional>
-                <attribute name="templateFormat">
-                  <ref name="pflashFormatTypes"/>
-                </attribute>
-              </optional>
-              <optional>
-                <ref name="pflashFormat"/>
-              </optional>
-              <optional>
-                <choice>
-                  <group>
+            <choice>
+              <element name="nvram">
+                <optional>
+                  <attribute name="template">
                     <ref name="absFilePath"/>
-                  </group>
-                  <group>
-                    <ref name="diskSource"/>
-                  </group>
-                </choice>
-              </optional>
-            </element>
+                  </attribute>
+                </optional>
+                <optional>
+                  <attribute name="templateFormat">
+                    <ref name="pflashFormatTypes"/>
+                  </attribute>
+                </optional>
+                <optional>
+                  <ref name="pflashFormat"/>
+                </optional>
+                <optional>
+                  <choice>
+                    <group>
+                      <ref name="absFilePath"/>
+                    </group>
+                    <group>
+                      <ref name="diskSource"/>
+                    </group>
+                  </choice>
+                </optional>
+              </element>
+              <element name="varstore">
+                <interleave>
+                  <optional>
+                    <attribute name="template">
+                      <ref name="absFilePath"/>
+                    </attribute>
+                  </optional>
+                  <optional>
+                    <attribute name="path">
+                      <ref name="absFilePath"/>
+                    </attribute>
+                  </optional>
+                </interleave>
+              </element>
+            </choice>
           </optional>
           <optional>
             <ref name="osbootkernel"/>
-- 
2.53.0

Reply via email to