Resolves:
https://bugzilla.redhat.com/show_bug.cgi?id=2174397
Fixes: 565bcb5d79dddaf1d0d14cffe1f3ae78d76b10a0
Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
src/conf/schemas/domainsnapshot.rng | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/conf/schemas/domainsnapshot.rng b/src/conf/schemas/domainsnapshot.rng
index 4048266f1d..45f01b96cd 100644
--- a/src/conf/schemas/domainsnapshot.rng
+++ b/src/conf/schemas/domainsnapshot.rng
@@ -123,6 +123,14 @@
<ref name="disksnapshotdriver"/>
</define>
+ <define name="snapshotDeleteInProgress">
+ <optional>
+ <element name="snapshotDeleteInProgress">
+ <empty/>
+ </element>
+ </optional>
+ </define>
+
<define name="disksnapshot">
<element name="disk">
<attribute name="name">
@@ -175,6 +183,7 @@
</element>
</optional>
<ref name="storageSourceExtra"/>
+ <ref name="snapshotDeleteInProgress"/>
</interleave>
</group>
<group>
@@ -200,6 +209,7 @@
</element>
</optional>
<ref name="storageSourceExtra"/>
+ <ref name="snapshotDeleteInProgress"/>
</interleave>
</group>
<ref name="diskSourceNetwork"/>
--
2.39.2