Talk:Qemu with kqemu kernel module support

From openSUSE

kqemu is GPLv2

kqemu is now GPL and should be considered for inclusion into the repositories. See changelog entry "version 1.3.0pre10" here for confirmation.

--Draeath 15:50, 20 August 2007 (UTC)


I downloaded qemu 0.8 and kqemu 0.7.2 and followed the article, but it is still not working with kqemu.

the command

>lsmod | grep kqemu

gives the following output:

>kqemu 40840 0

so I assume, that it should work. But:

>qemu windows98.img

results in:

>Could not open '/dev/kqemu' - QEMU acceleration layer not activated

and kqemu is not activated.

additional info:

sometimes I also get the following message:

You do not have enough space in '/dev/shm' for the 128 MB of QEMU virtual RAM. To have more space available provided you have enough RAM and swap, do as root: umount /dev/shm mount -t tmpfs -o size=144m none /dev/shm

when I try to run qemu.

By the way: I remember reading somewhere that kqemu needs to be compiled with the same version of as the kernel, in my case this would be gcc4. Is this true? I can't find it out, as I can't find the website any more.

Any help welcome,

Rainer


As far as I know and read somewhere compiling qemu and kqemu with gcc4 won't work. But I just tried gcc-3.3.6 and it worked, but only with default kernel. Then I tried gcc-3.4.5 and it worked too.

Jo