On Tue, May 29, 2012 at 9:39 PM, Mike Lovell
<address@hidden> wrote:
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