kqemu: removed obsolete port

This commit is contained in:
Fredrik Rinnestam 2012-05-21 19:24:16 +02:00
parent 27fbe811c7
commit 1887705bc8
5 changed files with 0 additions and 74 deletions

View File

@ -1,5 +0,0 @@
drwxr-xr-x root/root lib/
drwxr-xr-x root/root lib/modules/
drwxr-xr-x root/root lib/modules/<kernel-version>/
drwxr-xr-x root/root lib/modules/<kernel-version>/misc/
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/kqemu.ko

View File

@ -1,2 +0,0 @@
d738d8ca7332211ab716ec3213d82ee1 kqemu-1.4.0pre1.tar.gz
ccb8569947d23c4bf3cbc07592ec2161 kqemu.patch

View File

@ -1,19 +0,0 @@
# Description: QEMU Accelerator Module
# URL: http://nongnu.org/qemu/
# Maintainer: Lucas Hazel, lucas at die dot net dot au
# Packager: Jukka Heino, jukka dot heino at gmail dot com
# Depends on:
name=kqemu
version=1.4.0pre1
release=1
source=(http://www.nongnu.org/qemu/$name-$version.tar.gz \
$name.patch)
build() {
cd $name-$version
patch -Np1 -i ../$name.patch
./configure
make
install -D -m 0644 $name.ko $PKG/lib/modules/$(uname -r)/misc/kqemu.ko
}

View File

@ -1,19 +0,0 @@
REQUIREMENTS
PRE-INSTALL
POST-INSTALL
In order to use the QEMU Accelerator Module, first enable /dev/shm in
/etc/fstab. This is the area kqemu uses for the virtual machine RAM.
When using udev, the device node is created automatically; add the following to
/etc/udev/rules.d/10-custom.rules to allow all users of group 'qemu' to use
kqemu:
KERNEL=="kqemu", MODE="0660", GROUP="qemu"
Loading the kqemu kernel module is done with "modprobe kqemu major=0" This will
cause the major number to be assigned dynamically.
PRECAUTION

View File

@ -1,29 +0,0 @@
diff -ru kqemu-1.3.0pre11.orig/kqemu-linux.c kqemu-1.3.0pre11/kqemu-linux.c
--- kqemu-1.3.0pre11.orig/kqemu-linux.c 2007-02-06 22:02:00.000000000 +0100
+++ kqemu-1.3.0pre11/kqemu-linux.c 2007-10-19 13:45:18.004789125 +0200
@@ -26,6 +26,11 @@
#include <linux/ioctl.h>
#include <linux/smp_lock.h>
#include <linux/miscdevice.h>
+
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 23)
+#include <linux/sched.h>
+#endif
+
#include <asm/atomic.h>
#include <asm/processor.h>
#include <asm/uaccess.h>
@@ -78,7 +83,12 @@
int ret;
struct page *page;
- ret = get_user_pages(current, current->mm,
+ ret = get_user_pages(current,
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 23)
+ current->mm,
+#else
+ get_task_mm(current),
+#endif
user_addr,
1, /* 1 page. */
1, /* 'write': intent to write. */