Installation guide

# virsh dumpxml domain
<domain type='kvm'>
...
<disk type='block' device='cdrom'>
<driver name='qemu' type='raw'/>
<target dev='hdc' bus='ide'/>
<readonly/>
</disk>
...
</domain>
So lu t io n
Correct the XML by adding the missing <so urce> parameter as follows:
<disk type='block' device='cdrom'>
<driver name='qemu' type='raw'/>
<source file='/path/to/image.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
</disk>
A type= ' bl o ck' disk device expects that the source is a physical device. To use the disk
with an image file, use type= ' fi l e' instead.
Common libvirt errors and t roublesh oot ing
155