<disk>

Specifies a virtual block device, such as a SCSI device, or an image file.

Text content

None.

Selected attributes

type=block | file
Specifies the underlying disk source.
device=disk | cdrom
Optional; Indicates how the virtual block device is to be presented to the virtual server.

Usage

Parent elements

<devices>

Child elements

Example

<disk type="block" device="disk">
    <driver name="qemu" type="raw" cache="none" io="native" iothread="1"/>
    <source dev="/dev/mapper/36005076305ffc1ae00000000000021d5"/>
    <target dev="vdb" bus="virtio"/>
    <address type="ccw" cssid="0xfe" ssid="0x0" devno="0x0009"/>
</disk>