On 25.07.2016 22:48, Eric Farman wrote:
Add an example of the vhost-scsi hostdev tag, and its associated
definitions, to the domain XML helpfile.
Signed-off-by: Eric Farman <farman(a)linux.vnet.ibm.com>
Reviewed-by: Bjoern Walk <bwalk(a)linux.vnet.ibm.com>
Reviewed-by: Marc Hartmayer <mhartmay(a)linux.vnet.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy(a)linux.vnet.ibm.com>
---
docs/formatdomain.html.in | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 59a8bb9..2f2bbd0 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -3547,6 +3547,17 @@
</devices>
...</pre>
+ <p>or:</p>
+
+<pre>
+ ...
+ <devices>
+ <hostdev mode='subsystem' type='scsi'>
+ <source protocol='vhost'
wwpn='naa.50014057667280d8'/>
+ </hostdev>
+ </devices>
+ ...</pre>
+
<dl>
<dt><code>hostdev</code></dt>
<dd>The <code>hostdev</code> element is the main container for
describing
@@ -3646,6 +3657,11 @@
device using the same <code>name</code> attribute and
optionally
using the <code>auth</code> element to provide the
authentication
credentials to the iSCSI server.
+ <!-- FIXME as releases come and go -->
+ <span class="since">Since 2.1.0</span>, the
<code>protocol</code>
+ attribute may be set to "vhost" and accept a
<code>wwpn</code>
+ attribute that is the vhost_scsi wwpn (16 hexadecimal digits with
+ a prefix of "naa.") established in the host configfs.
</p>
</dd>
</dl>
Yet again, this should be squashed into 06/19.
Michal