Package: simple-cdd Version: 0.3.2 Severity: wishlist Hello,
Attached is a little patch to permit the use of kernel acceleration for qemu. It test if the character device /dev/kqemu exists. Regards. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.21.1+thorr.1 (PREEMPT) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages simple-cdd depends on: ii apt-utils 0.7.2-0.1 APT utility programs ii debian-cd 3.0.2 Tools for building (Official) Debi ii debootstrap 1.0.0 Bootstrap a basic Debian system ii lsb-release 3.1-23.1 Linux Standard Base version report ii python 2.4.4-6 An interactive high-level object-o ii reprepro 2.2.2-1 debian package repository producer ii rsync 2.6.9-3 fast remote file copy program (lik ii wget 1.10.2-3 retrieves files from the web simple-cdd recommends no packages. -- no debconf information
--- qemu.orig 2007-07-02 14:32:17.000000000 +0200 +++ qemu 2007-07-02 14:32:32.000000000 +0200 @@ -18,6 +18,11 @@ test -z "$hd_img" && hd_img="$simple_cdd_dir/qemu-test.hd.img" test -z "$cd_img" && cd_img="$OUT/${CDNAME:-debian}-$(echo $DEBVERSION | sed -e 's/[. ]//g')-$(echo $ARCHES | tr ' ' '-')-CD-1.iso" +if [ -c "/dev/kqemu" ]; then + echo "enabling kernel accelerator..." + qemu_opts="$qemu_opts -kernel-kqemu" +fi + if [ "true" = "$use_serial_console" ]; then echo "enabling qemu's serial console..." qemu_opts="$qemu_opts -nographic"