Installation guide

<emulator>/usr/libexec/qemu-kvm</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' cache='none'/>
<source file='/root/RHEL-Server-5.8-64-virtio.qcow2'/>
<emphasis role="bold"><target dev='hda' bus='ide'/>
</emphasis>
<address type='drive' controller='0' bus='0' unit='0'/>
</disk>
<controller type='ide' index='0'/>
<interface type='bridge'>
<mac address='54:52:00:08:3e:8c'/>
<source bridge='br0'/>
</interface>
<serial type='pty'>
<target port='0'/>
</serial>
<console type='pty'>
<target port='0'/>
</console>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/>
<video>
<model type='cirrus' vram='9216' heads='1'/>
</video>
</devices>
</domain>
The bus type for the disk is set as ide, which is the default value set by lib virt . This is the
incorrect bus type, and has caused the unsuccessful boot for the imported guest.
So lu t io n
Pro ced u re B.2. Co rrect in g t h e d isk b u s t yp e
1. Undefine the imported guest, then re-import it with bus=virtio and the following:
# virsh destroy rhel_64
# virsh undefine rhel_64
# virt-install \
--connect qemu:///system \
--ram 1024 -n rhel_64 -r 2048 \
--os-type=linux --os-variant=rhel5 \
--disk path=/root/RHEL-Server-5.8-64-
virtio.qcow2,device=disk,bus= vi rti o,format=qcow2 \
--vcpus=2 --graphics spice --noautoconsole --import
2. Edit the imported guest's XML using vi rsh ed it and correct the disk bus type.
B.7. Virt ual net work default has not been st art ed
Symp t o m
Normally, the configuration for a virtual network named default is installed as part of the
libvirt package, and is configured to autostart when lib virt d is started.
Red Hat Ent erp rise Linux 6 Virt ualiz at ion Host Configurat ion and G uest Inst allat ion G uide
136