Thread: qemu & kqemu
View Single Post
  #7   (View Single Post)  
Old 8th October 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

Quote:
Originally Posted by adamk View Post
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
Quote:
Any thoughts?
Try qemu (without -devel) maybe newest version tries to talk in some different way with kqemu while kqemu version in Ports my be outdated.
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote