提交 51cb34b3 编写于 作者: E Eric Blake

docs: use correct hints per bus type in <disk> examples

Commit 4cf53158 tried to set up unique labels per disk in the
example, but ended up choosing strings that don't correspond
to the usual choice of bus types.  Tweak the strings once again.

* docs/formatdomain.html.in: Use preferred names.
Signed-off-by: NEric Blake <eblake@redhat.com>
上级 2a193f64
...@@ -1616,12 +1616,12 @@ ...@@ -1616,12 +1616,12 @@
&lt;source dev='/dev/sda'/&gt; &lt;source dev='/dev/sda'/&gt;
&lt;geometry cyls='16383' heads='16' secs='63' trans='lba'/&gt; &lt;geometry cyls='16383' heads='16' secs='63' trans='lba'/&gt;
&lt;blockio logical_block_size='512' physical_block_size='4096'/&gt; &lt;blockio logical_block_size='512' physical_block_size='4096'/&gt;
&lt;target dev='sdb' bus='ide'/&gt; &lt;target dev='hdj' bus='ide'/&gt;
&lt;/disk&gt; &lt;/disk&gt;
&lt;disk type='volume' device='disk'&gt; &lt;disk type='volume' device='disk'&gt;
&lt;driver name='qemu' type='raw'/&gt; &lt;driver name='qemu' type='raw'/&gt;
&lt;source pool='blk-pool0' volume='blk-pool0-vol0'/&gt; &lt;source pool='blk-pool0' volume='blk-pool0-vol0'/&gt;
&lt;target dev='sdc' bus='ide'/&gt; &lt;target dev='hdk' bus='ide'/&gt;
&lt;/disk&gt; &lt;/disk&gt;
&lt;disk type='network' device='disk'&gt; &lt;disk type='network' device='disk'&gt;
&lt;driver name='qemu' type='raw'/&gt; &lt;driver name='qemu' type='raw'/&gt;
...@@ -1641,7 +1641,7 @@ ...@@ -1641,7 +1641,7 @@
&lt;auth username='myuser'&gt; &lt;auth username='myuser'&gt;
&lt;secret type='iscsi' usage='libvirtiscsi'/&gt; &lt;secret type='iscsi' usage='libvirtiscsi'/&gt;
&lt;/auth&gt; &lt;/auth&gt;
&lt;target dev='vdb' bus='scsi'/&gt; &lt;target dev='sdb' bus='scsi'/&gt;
&lt;/disk&gt; &lt;/disk&gt;
&lt;disk type='volume' device='disk'&gt; &lt;disk type='volume' device='disk'&gt;
&lt;driver name='qemu' type='raw'/&gt; &lt;driver name='qemu' type='raw'/&gt;
...@@ -1649,7 +1649,7 @@ ...@@ -1649,7 +1649,7 @@
&lt;auth username='myuser'&gt; &lt;auth username='myuser'&gt;
&lt;secret type='iscsi' usage='libvirtiscsi'/&gt; &lt;secret type='iscsi' usage='libvirtiscsi'/&gt;
&lt;/auth&gt; &lt;/auth&gt;
&lt;target dev='vdc' bus='virtio'/&gt; &lt;target dev='vdb' bus='virtio'/&gt;
&lt;/disk&gt; &lt;/disk&gt;
&lt;disk type='volume' device='disk'&gt; &lt;disk type='volume' device='disk'&gt;
&lt;driver name='qemu' type='raw'/&gt; &lt;driver name='qemu' type='raw'/&gt;
...@@ -1657,7 +1657,7 @@ ...@@ -1657,7 +1657,7 @@
&lt;auth username='myuser'&gt; &lt;auth username='myuser'&gt;
&lt;secret type='iscsi' usage='libvirtiscsi'/&gt; &lt;secret type='iscsi' usage='libvirtiscsi'/&gt;
&lt;/auth&gt; &lt;/auth&gt;
&lt;target dev='vdd' bus='virtio'/&gt; &lt;target dev='vdc' bus='virtio'/&gt;
&lt;/disk&gt; &lt;/disk&gt;
&lt;disk type='file' device='disk'&gt; &lt;disk type='file' device='disk'&gt;
&lt;driver name='qemu' type='qcow2'/&gt; &lt;driver name='qemu' type='qcow2'/&gt;
...@@ -1671,7 +1671,7 @@ ...@@ -1671,7 +1671,7 @@
&lt;backingStore/&gt; &lt;backingStore/&gt;
&lt;/backingStore&gt; &lt;/backingStore&gt;
&lt;/backingStore&gt; &lt;/backingStore&gt;
&lt;target dev='vde' bus='virtio'/&gt; &lt;target dev='vdd' bus='virtio'/&gt;
&lt;/disk&gt; &lt;/disk&gt;
&lt;/devices&gt; &lt;/devices&gt;
...</pre> ...</pre>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册