mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
docs: Document user aliases
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
0429e52f19
commit
93bc2c2126
@ -2256,6 +2256,29 @@
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<p>
|
||||
To help users identifying devices they care about, every
|
||||
device can have direct child <code>alias</code> element
|
||||
which then has <code>name</code> attribute where users can
|
||||
store identifier for the device. The identifier has to have
|
||||
"ua-" prefix and must be unique within the domain. Additionally, the
|
||||
identifier must consist only of the following characters:
|
||||
<code>[a-zA-Z0-9_-]</code>.
|
||||
<span class="since">Since 3.9.0</span>
|
||||
</p>
|
||||
|
||||
<pre>
|
||||
<devices>
|
||||
<disk type='file'>
|
||||
<alias name='ua-myDisk'/>
|
||||
</disk>
|
||||
<interface type='network' trustGuestRxFilters='yes'>
|
||||
<alias name='ua-myNIC'/>
|
||||
</interface>
|
||||
...
|
||||
</devices>
|
||||
</pre>
|
||||
|
||||
<h4><a id="elementsDisks">Hard drives, floppy disks, CDROMs</a></h4>
|
||||
|
||||
<p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user