From 181dc4032dcb0a72eebf5f2949f9f56227dbabc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Thu, 18 Jul 2013 03:12:41 +0200 Subject: [PATCH] Remove the old KQEMU accelerator module KQEMU was a linux kernel module for accelerating the QEMU virtual machine on x86 hardware. Since QEMU 0.11 (and up), there is no support for KQEMU any more, the focus is now on KVM. http://wiki.qemu.org/KQemu/Doc --- pkgs/os-specific/linux/kqemu/default.nix | 28 ------------------------ pkgs/top-level/all-packages.nix | 2 -- pkgs/top-level/release-python.nix | 1 - 3 files changed, 31 deletions(-) delete mode 100644 pkgs/os-specific/linux/kqemu/default.nix diff --git a/pkgs/os-specific/linux/kqemu/default.nix b/pkgs/os-specific/linux/kqemu/default.nix deleted file mode 100644 index 97b7c495bb38..000000000000 --- a/pkgs/os-specific/linux/kqemu/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ stdenv, fetchurl, kernelDev, perl }: - -stdenv.mkDerivation rec { - name = "kqemu-1.4.0pre1-${kernelDev.version}"; - - src = fetchurl { - url = "http://www.nongnu.org/qemu/${name}.tar.gz"; - sha256 = "14dlmawn3gia1j401ag5si5k1a1vav7jpv86rl37p1hwmr7fihxs"; - }; - - buildInputs = [ perl ]; - - configureFlags = [ ''--PREFIX=$out'' ''--kernel-path=$(ls -d ${kernelDev}/lib/modules/*/build)'' ]; - - preConfigure = '' - sed -e '/#include/i#include ' -i kqemu-linux.c - - sed -e 's/memset/mymemset/g; s/memcpy/mymemcpy/g; s/void [*]my/static void *my/g' -i common/kernel.c - sed -e 's/`uname -r`/'"$(basename ${kernelDev}/lib/modules/*)"'/' -i install.sh - sed -e '/kernel_path=/akernel_path=$out$kernel_path' -i install.sh - sed -e '/depmod/d' -i install.sh - cat install.sh - ''; - - meta = { - description = "Kernel module for QEMU acceleration"; - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index de84f54a82db..d85880ac4395 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6473,8 +6473,6 @@ let wis_go7007 = callPackage ../os-specific/linux/wis-go7007 { }; - kqemu = callPackage ../os-specific/linux/kqemu { }; - klibc = callPackage ../os-specific/linux/klibc { linuxHeaders = glibc.kernelHeaders; }; diff --git a/pkgs/top-level/release-python.nix b/pkgs/top-level/release-python.nix index 9cde018632fc..2ed725e68ce2 100644 --- a/pkgs/top-level/release-python.nix +++ b/pkgs/top-level/release-python.nix @@ -1093,7 +1093,6 @@ in iscsitarget = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; iwlwifi = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; klibc = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - kqemu = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; ndiswrapper = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; nvidia_x11 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; nvidia_x11_legacy173 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };