Red Hat LINUX VIRTUAL SERVER 5.1 - ADMINISTRATION Installation Guide Page 159

  • Download
  • Add to my manuals
  • Print
  • Page
    / 166
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 158
# 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
Page view 158

Comments to this Manuals

No comments