I have a virtual machine with 10 disk devices that uses the -kernel and -initrd parameters to boot and if I use virtio for all of the devices qemu-kvm says no bootable device. It successfully loads the kernel in 0.12.5. If I use scsi-disk for 4 of the devices, and virtio-blk for the other 6 devices it then loads the Linux kernel. I have tried with the following syntax for each device: file=<filename>,if=virtio,bus=0,unit=<0-9>,cache=writeback,media=disk,format=raw -drive id=<driveid>,file=<filename>,if=none,cache=writeback,media=disk,format=raw -device virtio-blk,id=<deviceid>,drive=<driveid> Reproducible: Always
I would suggest you to ask at first in forums.gentoo.org for help. Also would be interesting to post here some exact errors you are getting
This is what I see on the virtual console when I try to boot with 7 virtio-blk devices: -------------------- SeaBIOS (version 0.6.1.2-20110201_165504-titi) gPXE (http://etherboot.org) - 00:03.0 C900 PCI2.10 PnP BBS PMM07E0@10 C900 Booting from Hard Disk... Boot failed: not a bootable disk Booting from Floppy... Boot failed: could not read the boot disk Booting from DVD/CD... Boot failed: Could not read from CDROM (code 0003) No bootable device. -------------------- Also, I am able to boot from the network by adding "-boot n" even with 7 virtio-blk devices and can see all of the virtio-blk devices in network booted Linux.
In case it wasn't clear, the comment about it working okay on 0.12.5 was that I can successfully boot the virtual machine with 10 virtio-blk devices and the -kernel parameter on app-emulation/qemu-kvm-0.12.5. In version 0.14.1-r1 I have to change 4 of the devices from virtio-blk to scsi to get the virtual machine to boot.