qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] kqemu 0.7.2
@ 2006-03-30  8:05 Jerome Pinot
  0 siblings, 0 replies; only message in thread
From: Jerome Pinot @ 2006-03-30  8:05 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 785 bytes --]

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/

[-- Attachment #2: kqemu-0.7.2-module_param.diff --]
[-- Type: application/octet-stream, Size: 598 bytes --]

diff -Naur kqemu/kqemu-linux.c kqemu-mod/kqemu-linux.c
--- kqemu/kqemu-linux.c	2005-09-03 16:39:36.000000000 +0000
+++ kqemu-mod/kqemu-linux.c	2006-03-30 07:26:20.000000000 +0000
@@ -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 */








^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-30  8:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-30  8:05 [Qemu-devel] [PATCH] kqemu 0.7.2 Jerome Pinot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).