[PATCH 4/5] doc: rng schemas and html doc for rbd namespace attribute

Han Han hhan at redhat.com
Wed Apr 8 09:04:47 UTC 2020


Signed-off-by: Han Han <hhan at redhat.com>
---
 docs/formatdomain.html.in     | 5 +++++
 docs/schemas/domaincommon.rng | 3 +++
 2 files changed, 8 insertions(+)

diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index d56600dc..06e1a7ee 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -3118,6 +3118,11 @@
               (<span class="since">Since 6.2.0</span>)
               </p>
 
+              <p>For protocol <code>rbd</code>, an optional attribute
+              <code>namespace</code> specifies the namespace of a rbd pool.
+              (<span class="since">Since 6.3.0 and QEMU 5.0.0</span>)
+              </p>
+
               <p>For "iscsi" (<span class="since">since 1.0.4</span>), the
               <code>name</code> attribute may include a logical unit number,
               separated from the target's name by a slash (e.g.,
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index dcf2e09d..294ade34 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.25.0




More information about the libvir-list mailing list