]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
schemas: rng: Add encryption and slices elements to domainsnapshot schema
authorHan Han <hhan@redhat.com>
Wed, 1 Apr 2020 14:10:12 +0000 (22:10 +0800)
committerErik Skultety <eskultet@redhat.com>
Fri, 3 Apr 2020 13:53:43 +0000 (15:53 +0200)
Both <encryption> and <diskSourceCommon> were absent from the <source>
element defined in domainsnapshot.rng

Signed-off-by: Han Han <hhan@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
docs/schemas/domainsnapshot.rng

index 8e39feb2298d5d13c54393e67aa26b8134aec6bd..c881da741d341740027fe2446c5ede663bff411e 100644 (file)
                     <zeroOrMore>
                       <ref name='devSeclabel'/>
                     </zeroOrMore>
+                    <optional>
+                      <ref name='diskSourceCommon'/>
+                    </optional>
+                    <optional>
+                      <ref name="encryption"/>
+                    </optional>
                     <empty/>
                   </element>
                 </optional>
                     <zeroOrMore>
                       <ref name='devSeclabel'/>
                     </zeroOrMore>
+                    <optional>
+                      <ref name='diskSourceCommon'/>
+                    </optional>
+                    <optional>
+                      <ref name="encryption"/>
+                    </optional>
                     <empty/>
                   </element>
                 </optional>