On Fri, 2011-03-25 at 15:34 +0800, wuyu8242 wrote: > > hi Amos & Lucas, > Sorry for disturbing you again! > > Today's test failed again. so I want to ask the phenomenon of > running autotest. the result I run qemu-kvm manually with few of > parameters is okay. the operation as following: > > #qemu-img create -f qcow2 XP.img 20G > #qemu-kvm -m 1024 --cdrom xxxx.iso -hda fc11-64.img > #qemu-kvm --cdrom /path/to/fc11_64.iso -hda fc11-64.img -vga std > > after the last command running, the qemu window appears. then the > graphic install start. > > but the kvm-autotest boot failed. the question lies in these > parameters of qemu-kvm?
Ok, I tried here with a default install, I think I know what might be happening (even though I didn't get useful info to debug the problem first). The qemu-kvm shipped with Fedora 14 don't have support to boot from virtio disks, something that qemu-kvm upstream has for quite some time now. So the install goes on, but on boot qemu-kvm can't boot the recently installed virtio disk. So, as a workaround, I ask you to add image_boot = yes to your tests_base.cfg. Around line 2419, you'll see: variants: - @ide: drive_format=ide - scsi: drive_format=scsi - virtio_blk: drive_format=virtio Please add image_boot = yes to the virtio_blk variant, so the block looks like this: variants: - @ide: drive_format=ide - scsi: drive_format=scsi - virtio_blk: drive_format=virtio image_boot = yes That will resolve the problem. This incompatibility between what Fedora ships and qemu-kvm upstream has given us enough headache. I'll post a fix to the configuration file later. _______________________________________________ Autotest mailing list Autotest@test.kernel.org http://test.kernel.org/cgi-bin/mailman/listinfo/autotest