aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOsier Yang <jyang@redhat.com>2012-09-11 16:57:01 +0800
committerOsier Yang <jyang@redhat.com>2012-09-18 14:42:29 +0800
commitdbb7df1f811ce069a29e0ab5a2ff77916a350ca3 (patch)
tree3afd54fc80a490a97f619cdde7ec53cd034bf339 /docs
parentblockjob: add blockcommit support to rpc (diff)
downloadlibvirt-dbb7df1f811ce069a29e0ab5a2ff77916a350ca3.tar.gz
libvirt-dbb7df1f811ce069a29e0ab5a2ff77916a350ca3.tar.bz2
libvirt-dbb7df1f811ce069a29e0ab5a2ff77916a350ca3.zip
schema: Add schema for disk <wwn>
* docs/formatdomain.html.in: Add document. * docs/schemas/nodedev.rng: Move definition of "wwn" to ... * docs/schemas/basictypes.rng: ...Here * docs/schemas/domaincommon.rng: Add schema for disk <wwn>
Diffstat (limited to 'docs')
-rw-r--r--docs/formatdomain.html.in6
-rw-r--r--docs/schemas/basictypes.rng6
-rw-r--r--docs/schemas/domaincommon.rng5
-rw-r--r--docs/schemas/nodedev.rng6
4 files changed, 17 insertions, 6 deletions
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index c05f3df9c..8bdfbf175 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -1582,6 +1582,12 @@
like <code>&lt;serial&gt;WD-WMAP9A966149&lt;/serial&gt;</code>.
<span class="since">Since 0.7.1</span>
</dd>
+ <dt><code>wwn</code></dt>
+ <dd>If present, this element specifies the WWN (World Wide Name)
+ of a virtual hard disk or CD-ROM drive. It must be composed
+ of 16 hexadecimal digits.
+ <span class='since'>Since 0.10.1</span>
+ </dd>
<dt><code>host</code></dt>
<dd>The <code>host</code> element has two attributes "name" and "port",
which specify the hostname and the port number. The meaning of this
diff --git a/docs/schemas/basictypes.rng b/docs/schemas/basictypes.rng
index 766f9a08f..38cab16ce 100644
--- a/docs/schemas/basictypes.rng
+++ b/docs/schemas/basictypes.rng
@@ -213,4 +213,10 @@
</data>
</define>
+ <define name='wwn'>
+ <data type='string'>
+ <param name='pattern'>[0-9a-fA-F]{16}</param>
+ </data>
+ </define>
+
</grammar>
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index d70f0c25e..aafb10c57 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -892,6 +892,11 @@
<optional>
<ref name="diskBlockIo"/>
</optional>
+ <optional>
+ <element name="wwn">
+ <ref name="wwn"/>
+ </element>
+ </optional>
</interleave>
</define>
<define name="snapshot">
diff --git a/docs/schemas/nodedev.rng b/docs/schemas/nodedev.rng
index 88a4e9ddc..7c8581521 100644
--- a/docs/schemas/nodedev.rng
+++ b/docs/schemas/nodedev.rng
@@ -245,12 +245,6 @@
</attribute>
</define>
- <define name='wwn'>
- <data type='string'>
- <param name='pattern'>[0-9a-fA-F]{16}</param>
- </data>
- </define>
-
<define name='capsfchost'>
<attribute name='type'>
<value>fc_host</value>