Red Hat LINUX VIRTUAL SERVER 5.1 - ADMINISTRATION Instalační příručka Strana 159

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 166
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 158

Komentáře k této Příručce

Žádné komentáře