[libvirt] [PATCH] docs: rng: Add missing <interleave> element to panic device

Erik Skultety posted 1 patch 5 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/d271f12cf42c7f0a86d06cd849db8c7acfaa41db.1525262341.git.eskultet@redhat.com
Test syntax-check passed
docs/schemas/domaincommon.rng | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
[libvirt] [PATCH] docs: rng: Add missing <interleave> element to panic device
Posted by Erik Skultety 5 years, 11 months ago
Panic device has 2 optional sub-elements - <alias> and <address> the
order of which should be interchangeable in the XML.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1456165

Signed-off-by: Erik Skultety <eskultet@redhat.com>
---
 docs/schemas/domaincommon.rng | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 3569b92127..7c02edb7f8 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -6070,12 +6070,14 @@
           </choice>
         </attribute>
       </optional>
-      <optional>
-        <ref name="alias"/>
-      </optional>
-      <optional>
-        <ref name="address"/>
-      </optional>
+      <interleave>
+        <optional>
+          <ref name="alias"/>
+        </optional>
+        <optional>
+          <ref name="address"/>
+        </optional>
+      </interleave>
     </element>
   </define>
   <define name="rawIO">
-- 
2.14.3

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH] docs: rng: Add missing <interleave> element to panic device
Posted by Peter Krempa 5 years, 11 months ago
Please use 'schema' instead of 'rng'.


On Wed, May 02, 2018 at 13:59:06 +0200, Erik Skultety wrote:
> Panic device has 2 optional sub-elements - <alias> and <address> the
> order of which should be interchangeable in the XML.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1456165
> 
> Signed-off-by: Erik Skultety <eskultet@redhat.com>
> ---
>  docs/schemas/domaincommon.rng | 14 ++++++++------
>  1 file changed, 8 insertions(+), 6 deletions(-)

ACK
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list