Configuring devices with the virtual server
The domain configuration-XML file specifies virtual devices that are defined along with the virtual server.
Before you begin
- Ensure that the devices are prepared for the use of the virtual server.
-
Devices that can be attached to an already defined virtual server are configured in separate device configuration-XML files.
Procedure
Example
<domain type="kvm">
<iothreads>1</iothreads>
...
<devices>
...
<disk type="block" device="disk">
<driver name="qemu" type="raw" cache="none" io="native" iothread="1"/>
<source dev="/dev/mapper/36005076305ffc1ae00000000000020d3"/>
<target dev="vda" bus="virtio"/>
</disk>
...
</devices>
</domain>