mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 01:34:11 +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:
parent
041aac8648
commit
dafd354d12
@ -477,13 +477,16 @@
|
|||||||
...
|
...
|
||||||
<devices>
|
<devices>
|
||||||
<disk type='file'>
|
<disk type='file'>
|
||||||
<driver name="tap" type="aio" cache="default">
|
<driver name="tap" type="aio" cache="default"/>
|
||||||
<source file='/var/lib/xen/images/fv0'/>
|
<source file='/var/lib/xen/images/fv0'/>
|
||||||
<target dev='hda' bus='ide'/>
|
<target dev='hda' bus='ide'/>
|
||||||
<encryption type='...'>
|
<encryption type='...'>
|
||||||
...
|
...
|
||||||
</encryption>
|
</encryption>
|
||||||
<shareable/>
|
<shareable/>
|
||||||
|
<serial>
|
||||||
|
...
|
||||||
|
</serial>
|
||||||
</disk>
|
</disk>
|
||||||
</devices>
|
</devices>
|
||||||
...</pre>
|
...</pre>
|
||||||
@ -532,6 +535,11 @@
|
|||||||
between domains (assuming the hypervisor and OS support this),
|
between domains (assuming the hypervisor and OS support this),
|
||||||
which means that caching should be deactivated for that device.
|
which means that caching should be deactivated for that device.
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><code>serial</code></dt>
|
||||||
|
<dd>If present, this specify serial number of virtual hard drive.
|
||||||
|
For example, it may look as <code><serial>WD-WMAP9A966149</serial></code>.
|
||||||
|
<span class="since">Since 0.7.1</span>
|
||||||
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<h4><a name="elementsUSB">USB and PCI devices</a></h4>
|
<h4><a name="elementsUSB">USB and PCI devices</a></h4>
|
||||||
|
Loading…
Reference in New Issue
Block a user