Signed-off-by: Nikolai Barybin <nikolai.barybin(a)virtuozzo.com>
---
src/conf/schemas/domaincommon.rng | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/src/conf/schemas/domaincommon.rng b/src/conf/schemas/domaincommon.rng
index efb5f00d77..b2fe20cdd4 100644
--- a/src/conf/schemas/domaincommon.rng
+++ b/src/conf/schemas/domaincommon.rng
@@ -1778,6 +1778,9 @@
<ref name="diskBackingChain"/>
<ref name="privateDataDeviceDisk"/>
</interleave>
+ <optional>
+ <ref name="diskDataFile"/>
+ </optional>
</define>
<define name="diskBackingChain">
@@ -1798,6 +1801,18 @@
<ref name="diskSource"/>
<ref name="diskBackingChain"/>
<ref name="diskFormat"/>
+ <optional>
+ <ref name="diskDataFile"/>
+ </optional>
+ </interleave>
+ </element>
+ </define>
+
+ <define name="diskDataFile">
+ <element name="dataFileStore">
+ <interleave>
+ <ref name="diskFormat"/>
+ <ref name="diskSource"/>
</interleave>
</element>
</define>
--
2.43.5