<features> was introduced in 24f17f55 and have only gic child element
at the time. Thus from backcompat POV the other children are optional.
Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy(a)virtuozzo.com>
---
docs/schemas/domaincaps.rng | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/docs/schemas/domaincaps.rng b/docs/schemas/domaincaps.rng
index 7d80693..2258365 100644
--- a/docs/schemas/domaincaps.rng
+++ b/docs/schemas/domaincaps.rng
@@ -183,9 +183,15 @@
<element name='features'>
<interleave>
<ref name='gic'/>
- <ref name='vmcoreinfo'/>
- <ref name='vmgenid'/>
- <ref name='sev'/>
+ <optional>
+ <ref name='vmcoreinfo'/>
+ </optional>
+ <optional>
+ <ref name='vmgenid'/>
+ </optional>
+ <optional>
+ <ref name='sev'/>
+ </optional>
</interleave>
</element>
</define>
--
1.8.3.1