Signed-off-by: Han Han <hhan(a)redhat.com>
---
docs/formatdomain.rst | 5 ++++-
docs/schemas/domaincommon.rng | 3 +++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst
index 218f0c1718..431abc6f56 100644
--- a/docs/formatdomain.rst
+++ b/docs/formatdomain.rst
@@ -2256,7 +2256,7 @@ paravirtualized driver is specified via the ``disk`` element.
</disk>
<disk type='network'>
<driver name="qemu" type="raw"/>
- <source protocol="rbd" name="image_name2">
+ <source protocol="rbd" name="image_name2"
namespace="ns"">
<host name="hostname" port="7000"/>
<snapshot name="snapname"/>
<config file="/path/to/file"/>
@@ -2497,6 +2497,9 @@ paravirtualized driver is specified via the ``disk`` element.
For protocols ``http`` and ``https`` an optional attribute ``query``
specifies the query string. ( :since:`Since 6.2.0` )
+ For protocol ``rbd``, an optional attribute ``namespace`` specifies the
+ namespace of a rbd pool. ( :since:`Since 6.7.0 and QEMU 5.0.0` )
+
For "iscsi" ( :since:`since 1.0.4` ), the ``name`` attribute may include
a
logical unit number, separated from the target's name by a slash (e.g.,
``iqn.2013-07.com.example:iscsi-pool/1``). If not specified, the default
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 0d0dcbc5ce..ee09da3c7c 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -1762,6 +1762,9 @@
<optional>
<attribute name="name"/>
</optional>
+ <optional>
+ <attribute name="namespace"/>
+ </optional>
<zeroOrMore>
<ref name="diskSourceNetworkHost"/>
</zeroOrMore>
--
2.27.0