[libvirt] [PATCH 5/5] docs: Correct typos in scsi hostdev and address elements

Eric Farman farman at linux.vnet.ibm.com
Wed Jun 17 03:29:55 UTC 2015


The type='scsi' parameter of an address element is ignored
if placed within a hostdev section, and rejected by the XML
schema used by virt-xml-validate. Remove it from the doc,
and correct a typo in the remaining address arguments.

Signed-off-by: Eric Farman <farman at linux.vnet.ibm.com>
Reviewed-by: Matthew Rosato <mjrosato at linux.vnet.ibm.com>
Reviewed-by: Stefan Zimmermann <stzi at linux.vnet.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy at linux.vnet.ibm.com>
---
 docs/formatdomain.html.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index c88c4a6..f97a049 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -2839,7 +2839,7 @@
       <dd>Drive addresses have the following additional
         attributes: <code>controller</code> (a 2-digit controller
         number), <code>bus</code> (a 2-digit bus number),
-        <code>target</code> (a 2-digit bus number),
+        <code>target</code> (a 2-digit target number),
         and <code>unit</code> (a 2-digit unit number on the bus).
       </dd>
       <dt><code>type='virtio-serial'</code></dt>
@@ -3148,7 +3148,7 @@
     <hostdev mode='subsystem' type='scsi' sgio='filtered' rawio='yes'>
       <source>
         <adapter name='scsi_host0'/>
-        <address type='scsi' bus='0' target='0' unit='0'/>
+        <address bus='0' target='0' unit='0'/>
       </source>
       <readonly/>
       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
-- 
1.9.1




More information about the libvir-list mailing list