The only difference between my working IDE config and the broken SCSI is the 
"if=" parameter.

Here is how I am calling qemu for this virtual machine:

/usr/local/kvm/bin/qemu-system-x86_64 -m 512 -drive 
file=/dev/mapper/storage-freebsd,if=scsi,boot=on -net nic,model=e1000 -net 
tap,script=/root/kvmstuff/qemu-ifup -daemonize -vnc :2 \
-boot c -cdrom /root/kvmstuff/7.0-RELEASE-i386-disc1.iso

Interestingly, I also note that while IDE seems to work fine, restarting the 
guest by issuing a shutdown -r while logged into freebsd or by sending a 
ctrl+alt+del to the virtual machine via VNC results in a boot failure. Shutting 
down the qemu instance and starting it up again allows freebsd to boot properly.

Thanks again,
Sterling Windmill

----- Original Message ----- 
From: "Avi Kivity" <[EMAIL PROTECTED]> 
To: "Sterling Windmill" <[EMAIL PROTECTED]> 
Cc: kvm@vger.kernel.org 
Sent: Wednesday, October 1, 2008 3:34:26 AM GMT -05:00 US/Canada Eastern 
Subject: Re: freebsd 7.0 32-bit won't boot with kvm scsi 

Sterling Windmill wrote: 
> I am attempting to get freebsd 7.0 32-bit running under kvm-76 and have been 
> successful with the emulated ide interface and e1000 networking. 
> 
> When I try to use kvm's scsi interface, I am able to complete the freebsd 
> install but get a bootloader message stating that the kernel cannot be found 
> upon attempting to boot into freebsd. 
> 
> Has anyone else experienced this? 
> 

Have you enabled extboot (-drive ...,boot=on)? 

-- 
I have a truly marvellous patch that fixes the bug which this 
signature is too narrow to contain. 

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to