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 bfd0044805..e70896b7ef 100644
--- a/src/conf/schemas/domaincommon.rng
+++ b/src/conf/schemas/domaincommon.rng
@@ -1783,6 +1783,9 @@
<ref name="diskBackingChain"/>
<ref name="privateDataDeviceDisk"/>
</interleave>
+ <optional>
+ <ref name="diskDataFile"/>
+ </optional>
</define>
<define name="diskBackingChain">
@@ -1803,6 +1806,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