mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 14:57:42 +00:00
docs: Add documentation for new attribute tray of disk target
Example XML: <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/tmp/cdrom.img'/> <target dev='hdd' bus='ide' tray='open'/> </disk>
This commit is contained in:
parent
a26a1969c3
commit
ab49b392cc
@ -1134,7 +1134,7 @@
|
|||||||
</disk>
|
</disk>
|
||||||
<disk type='block' device='cdrom'>
|
<disk type='block' device='cdrom'>
|
||||||
<driver name='qemu' type='raw'/>
|
<driver name='qemu' type='raw'/>
|
||||||
<target dev='hdc' bus='ide'/>
|
<target dev='hdc' bus='ide' tray='open'/>
|
||||||
<readonly/>
|
<readonly/>
|
||||||
</disk>
|
</disk>
|
||||||
<disk type='block' device='lun'>
|
<disk type='block' device='lun'>
|
||||||
@ -1245,10 +1245,15 @@
|
|||||||
possible values are driver specific, with typical values being
|
possible values are driver specific, with typical values being
|
||||||
"ide", "scsi", "virtio", "xen", "usb" or "sata". If omitted, the bus
|
"ide", "scsi", "virtio", "xen", "usb" or "sata". If omitted, the bus
|
||||||
type is inferred from the style of the device name. eg, a device named
|
type is inferred from the style of the device name. eg, a device named
|
||||||
'sda' will typically be exported using a SCSI bus.
|
'sda' will typically be exported using a SCSI bus. The optional
|
||||||
|
attribute <code>tray</code> indicates the tray status of the
|
||||||
|
removable disks (i.e. CDROM or Floppy disk), the value can be either
|
||||||
|
"open" or "closed", defaults to "closed". NB, the value of
|
||||||
|
<code>tray</code> could be updated while the domain is running.
|
||||||
<span class="since">Since 0.0.3; <code>bus</code> attribute since 0.4.3;
|
<span class="since">Since 0.0.3; <code>bus</code> attribute since 0.4.3;
|
||||||
"usb" attribute value since after 0.4.4; "sata" attribute value since
|
<code>tray</code> attribute since 0.9.11; "usb" attribute value since
|
||||||
0.9.7</span></dd>
|
after 0.4.4; "sata" attribute value since 0.9.7</span>
|
||||||
|
</dd>
|
||||||
<dt><code>iotune</code></dt>
|
<dt><code>iotune</code></dt>
|
||||||
<dd>The optional <code>iotune</code> element provides the
|
<dd>The optional <code>iotune</code> element provides the
|
||||||
ability to provide additional per-device I/O tuning, with
|
ability to provide additional per-device I/O tuning, with
|
||||||
|
@ -967,6 +967,14 @@
|
|||||||
</choice>
|
</choice>
|
||||||
</attribute>
|
</attribute>
|
||||||
</optional>
|
</optional>
|
||||||
|
<optional>
|
||||||
|
<attribute name="tray">
|
||||||
|
<choice>
|
||||||
|
<value>open</value>
|
||||||
|
<value>closed</value>
|
||||||
|
</choice>
|
||||||
|
</attribute>
|
||||||
|
</optional>
|
||||||
</element>
|
</element>
|
||||||
</define>
|
</define>
|
||||||
<!--
|
<!--
|
||||||
|
Loading…
Reference in New Issue
Block a user