Quote:
Originally Posted by adamk
Is it possible to get qemu to make use of the kqemu kernel module?
|
Code:
# kldload aio
# kldload kqemu
# qemu ...
Quote:
I have both qemu-devel and kqemu-kmod-devel installed (and have tried with just the qemu and kqemu-kmod ports as well). However there is no noticeable difference in speed between qemu with or without the kqemu kernel module loaded. In addition, I can actually unload the kqemu kernel module while qemu is running a guest OS without any impact what-so-ever. I would assume that if qemu was actually using the acceleration provided by kqemu, I would get a message that the module was busy.
|
If
aio and
kqemu modules are not loaded then you will get that warning:
Code:
# qemu ...
warning: aio not (kld)loaded, may cause `Invalid system call' traps on disk IO
Could not open '/dev/kqemu' - QEMU acceleration layer not activated: No such file or directory
Try
qemu (without -devel) maybe newest version tries to talk in some different way with kqemu while kqemu version in Ports my be outdated.