Hi!

On Tue, Oct 28, 2008 at 02:08:28AM +0000, Mikolaj Kucharski wrote:
>Anyone is using qemu with kqemu? I have installed:

Not any more. I have experienced crashes of the host with kqemu (with
the multiprocessor kernel), as well as strange behavior of the guest OS
(for *some* guest OSes; Debian seems to run fine as guest, OpenBSD not
[panic, init died, IIRC]).

So I stopped using kqemu again (alas, because *as far as it worked*, it
definitely got me a significant speed boost).

>kqemu-1.3.0pre11p3
>qemu-0.9.1p4

>Loaded module on startup:

># modstat
>Type     Id Off Loadaddr Size Info     Rev Module Name
>DEV       0  29 dd047000 001b dd061360   2 kqemu

># ls -l /dev/kqemu
>crw-rw----  1 root  _kqemu   29,   0 Oct 26 07:41 /dev/kqemu

>When I start qemu I have following error message:

>$ qemu ...
>Could not open '/dev/kqemu' - QEMU acceleration layer not activated: Device 
>busy

Strange. Worked for me (compiled the kqemu package myself on exactly the
kernel/system I wanted to use, though, and added the appropriate lines
to rc.securelevel and rebooted).

>My user is member of _kqemu group.

That should be fine then.

>Running qemu as root user gives
>the same error message and guest os (OpenBSD) is really slow no matter
>which user executed qemu.

Yes, of course qemu falls back to non-kqemu mode if it can't use the
kqemu module. And *as far as it worked*, the acceleration was bigger
when one uses -kernel-kqemu (KQEMU full virtualization instead of user
mode only).

Kind regards,

Hannah.

Reply via email to