<controller>
Specifies a device controller for a virtual server.
Text content
None.Selected attributes
- type=scsi | virtio-serial
- Specifies the type of controller.
- index
- This decimal integer specifies the controller index,
which is referenced by the attached host device.
To reference a controller, use the controller attribute of the address element as child of the hostdev element.
- scsi type-specific attributes:
- model=virtio-scsi
- Optional; specifies the model of the controller.
Usage
Configuring a SCSI tape or medium changer deviceParent elements
<devices>Child elements
Example
<devices>
<controller type="scsi" model="virtio-scsi" index="0"/>
<hostdev mode="subsystem" type="scsi">
<source>
<adapter name="scsi_host0"/>
<address bus="0" target="0" unit="0"/>
</source>
<address type="drive" controller="0" bus="0" target="0" unit="0"/>
</hostdev>
</devices>