|
From: | Mike Lovell |
Subject: | Re: [Qemu-discuss] qemu with kvm does not work, without kvm works |
Date: | Tue, 29 May 2012 10:09:42 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.28) Gecko/20120313 Lightning/1.0b2 Thunderbird/3.1.20 |
On 05/28/2012 11:47 AM, peeyush Agrawal wrote:
I changed kernel of my system ( from 2.6.32 to 2.6.29 ) due to some reason. I also put modules at appropriate location ( /lib/modules/`uname -r`). But problem is :when I run "qemu --enable-kvm --kernel vmlinuz" it does not boot, while "qemu --kernel vmlinuz" does boot. ( I have loaded kvm and kvm-intel using modprobe already ). surprising I am not able to see any dmesg or loading error. By does not boot I meant does not even show first kernel message and hangs on the starting screen. While without "--enable-kvm" everything is perfect.
there are a couple things you should check. are the kvm modules listed when you do `lsmod` and does /dev/kvm exist? when you execute qemu, does the user executing it have permissions to read and write /dev/kvm? when you have the '-enable-kvm' option, does qemu return any error messages?
what version of qemu are you using? what distribution of linux? i am also somewhat curious as to why 2.6.32 doesn't work for you.
mike
[Prev in Thread] | Current Thread | [Next in Thread] |