1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +03:00

Add docs on drive <serial> element

* docs/formatdomain.html.in: Document <serial> element within
  <disk> and fix typo on <driver/> element
This commit is contained in:
Марк Коренберг 2010-05-27 12:44:41 +01:00 committed by Daniel P. Berrange
parent 041aac8648
commit dafd354d12

View File

@ -477,13 +477,16 @@
...
&lt;devices&gt;
&lt;disk type='file'&gt;
&lt;driver name="tap" type="aio" cache="default"&gt;
&lt;driver name="tap" type="aio" cache="default"/&gt;
&lt;source file='/var/lib/xen/images/fv0'/&gt;
&lt;target dev='hda' bus='ide'/&gt;
&lt;encryption type='...'&gt;
...
&lt;/encryption&gt;
&lt;shareable/&gt;
&lt;serial&gt;
...
&lt;/serial&gt;
&lt;/disk&gt;
&lt;/devices&gt;
...</pre>
@ -532,6 +535,11 @@
between domains (assuming the hypervisor and OS support this),
which means that caching should be deactivated for that device.
</dd>
<dt><code>serial</code></dt>
<dd>If present, this specify serial number of virtual hard drive.
For example, it may look as <code>&lt;serial&gt;WD-WMAP9A966149&lt;/serial&gt;</code>.
<span class="since">Since 0.7.1</span>
</dd>
</dl>
<h4><a name="elementsUSB">USB and PCI devices</a></h4>