All Red Hat-based systems (RHEL, Fedora) have failed during automated tests on SCSI disks on KVM.
It turned out to be a problem of Qemu/KVM, where after a software reboot (i.e. initiated by guest OS), the system is unable to boot from SCSI controller.
To reboot successfully you need either soft reboot+IDE or Hard reboot (Qemu cold boot)+SCSI.
The Command sent to Qemu/KVM:
/usr/local/bin/qemu-system-x86_64 -m 512 -monitor tcp:localhost:4602,server,nowait -cdrom /isos/linux/Fedora-8-i386-DVD.iso -drive file=/vm/fedora8-32.qcow2,if=scsi,boot=on -name fedora8-32
Host: RHEL 5/x64, KVM-85rc6. (tried both Intel and AMD)
Guest: RHEL 5, Fedora 8, Fedora 9 (tried both 32 and 64-bit).
-Alexey, 16.4.2009.
This problem also exists for VirtIO block device.
Bug was also opened in Ubuntu Launchpad.
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/363743
Two reasons:
1. Qemu project does not have bugzilla - so Ubuntu Launchpad became main bugzilla for Qemu
2. This bug affects Ubuntu-8.10
Ryan Harper provided a patch that fixes this.
Ryan Harper provided a patch that fixes this.
I need to make sure it makes way into KVM release. Not closing bug yet.
Bug fixed in KVM-85. Closing.