kqemu 0.7.2
PATCH 1/1 kqemu 0.7.2
Hi,
Well, I know there is ongoing work on the next release of kqemu, but I thought it could be useful to get the stable release still work with the current linux kernel.
MODULE_PARM shouldn't be used anymore. This patch makes kqemu compiled with recent kernel.
If the patch is broken (thanks to gmail), you can find it here too:
http://ngc891.blogdns.net/pub/projects/patches/kqemu-0.7.2-module_param.diff
BTW, it could worth it to add something like:
---
If you're using udev, you can add a rule to have the device node created automaticaly when you load the kqemu module, for example:
# echo 'KERNEL="kqemu", NAME="%k", MODE="0666"' > /etc/udev/rules.d/30-kqemu.rules --- in the Linux installation part of the documentation.
Regards,
--
Jerome Pinot
http://ngc891.blogdns.net/
kqemu-linux.c +2 -2
@@ -48,11 +48,11 @@/* if 0 is used, then devfs/udev is used to automatically create the device */ int major =250 ; -MODULE_PARM (major,"i" ); +module_param (major, int,0 );/* configurable max_instances */ int max_instances =4 ; -MODULE_PARM (max_instances,"i" ); +module_param (max_instances, int,0 );/* lock the page at virtual address 'user_addr' and return its page index. Return -1 if error */