[PATCH 14/15] schema: storagepool: Allow interleaving of per-pool custom namespace elements
Peter Krempa
pkrempa at redhat.com
Mon Oct 17 12:37:57 UTC 2022
The custom namespace parameters for 'rbd' and 'netfs' pool types were
not included in the interleave statement.
Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
src/conf/schemas/storagepool.rng | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/conf/schemas/storagepool.rng b/src/conf/schemas/storagepool.rng
index d81ead532a..63a8b75fd8 100644
--- a/src/conf/schemas/storagepool.rng
+++ b/src/conf/schemas/storagepool.rng
@@ -69,10 +69,10 @@
<ref name="features"/>
<ref name="sourcenetfs"/>
<ref name="target"/>
+ <optional>
+ <ref name="fs_mount_opts"/>
+ </optional>
</interleave>
- <optional>
- <ref name="fs_mount_opts"/>
- </optional>
</define>
<define name="poollogical">
@@ -166,10 +166,10 @@
<ref name="features"/>
<ref name="sourcerbd"/>
<ref name="refresh"/>
+ <optional>
+ <ref name="rbd_config_opts"/>
+ </optional>
</interleave>
- <optional>
- <ref name="rbd_config_opts"/>
- </optional>
</define>
<define name="poolsheepdog">
--
2.37.3
More information about the libvir-list
mailing list