I just ran into a problem I can't make heads or tails of, so I'm hoping to get some help here.
I have a custom built Embedded Linux as host, running qemu-kvm 1.1.2 and libvirt 1.2.20
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<target dev='hdb' bus='ide'/>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<target dev='vda' bus='virtio'/>
<controller type='pci' model='pci-root'/>
<target type='serial' port='0'/>
<input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes'/>
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1'/>
<watchdog model='i6300esb' action="">
Granted the guest OS I'm installing is again a custom Linux with some software running on top ..so It's not a well known OS...but I'm hoping that does not matter much.
After installation I get all sorts of kernel panics and errors about services not being able to start.
I tried the same thing on ubuntu 14.04.2 LTS (host) which installed qemu-kvm 2.0.0 and libvirt 1.2.2
Same config xml, but this time it worked better -I was not getting the kernel panics.
The OS I'm installing does not support IDE disks, it needs a virtio disk.
I ran a second test, this time installing ubuntu 14.04 as the guest on both hosts (ubuntu vs embedded Linux) and again I had problems with which point to the virtio driver.
On the ubunutu host everyhing was fine
On the Embedded Linux host, the installation failed early on with the error:
The attempt to mount a file system with type ext4 in Virtual disk1, partition#1 (vda1) at / failed
If I switch to an ide disk drive instead of virtio, everything works fine.
Thinking it might be because I had an old version of qemu I upgraded qemu to v 2.6.0. And got the same behavior.
At this point I'm running out of ideas and I'm not sure what else I can try. Any suggestions are appreciated.