Re: Freebsd image from Qemu hangs on booting in KVM

Anjali Kulkarni
2010-08-05T20:52:59Z

Thanks Avi,
I am trying to reproduce this on another setup, and do not see the issue.
My understanding is to run KVM + Qemu, I only need to install KVM modules,
and Qemu does not need to be modified. Is that correct?
I see

[root@ipg-virt01 anjali]# lsmod | grep kvm
kvm_intel 87016 0
kvm 211496 1 kvm_intel

[root@ipg-virt01 anjali]# modprobe -l 'kvm*'
/lib/modules/2.6.18-164.el5/kernel/extra/kvm.ko
/lib/modules/2.6.18-164.el5/kernel/extra/kvm-amd.ko
/lib/modules/2.6.18-164.el5/kernel/extra/kvm-intel.ko

And then I run Qemu, as I did, before installing KVM. It should just use
KVM? Is there any way I can check?

Btw, when it hangs, I cannot even press any key, so not sure how I can get
those commands you suggest below..

Anjali

On 8/5/10 1:46 AM, "Avi Kivity" <avi@redhat.com> wrote:

> On 08/05/2010 05:20 AM, Anjali Kulkarni wrote:
>> Hi,
>>
>> I have a problem similar to the one seen on this list before - when I boot my
>> freebsd based(but modified) image in Qemu with KVM on CentOS, then after
>> almost booting completely, the image hangs - just before the login prompt is
>> seen. If I do not have KVM ie plain CenOS with Qemu, then this issue does not
>> occur. Has anyone seen this before and any ideas how to debug this?
>
> First step is to issue 'info registers' and 'x/30i $eip-20' from the
> monitor when it hangs (qemu -monitor stdio makes cut'n'paste easier).