Package: qemu Version: 1:2.1+dfsg-11 Severity: wishlist Tags: patch User: debian-...@lists.debian.org Usertags: port-x32
Hi! qemu does compile and run on x32 hosts, but alas, its configure system fails to enable KVM, with obvious slow results. It turns out that all that needs to be done for full-speed goodness is a slight change to "configure". Thus, please apply the attached patch. I haven't tested every functionality, but at least "install amd64 Debian in a VM" does work. (And considering how many times I installed x32 on amd64 host recently, it's high time for this turnaround!) Meow! -- System Information: Debian Release: 8.0 APT prefers unstable APT policy: (600, 'unstable'), (500, 'unreleased'), (50, 'experimental') Architecture: x32 (x86_64) Kernel: Linux 3.19.0-x32 (SMP w/6 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages qemu depends on: ii qemu-system 1:2.1+dfsg-11 ii qemu-user 1:2.1+dfsg-11 ii qemu-utils 1:2.1+dfsg-11 qemu recommends no packages. Versions of packages qemu suggests: pn qemu-user-static <none> -- no debconf information
--- qemu-2.1+dfsg.orig/configure +++ qemu-2.1+dfsg/configure @@ -5080,7 +5080,9 @@ case "$target_name" in \( "$target_name" = "ppcemb" -a "$cpu" = "ppc64" \) -o \ \( "$target_name" = "mipsel" -a "$cpu" = "mips" \) -o \ \( "$target_name" = "x86_64" -a "$cpu" = "i386" \) -o \ - \( "$target_name" = "i386" -a "$cpu" = "x86_64" \) \) ; then + \( "$target_name" = "i386" -a "$cpu" = "x86_64" \) -o \ + \( "$target_name" = "x86_64" -a "$cpu" = "x32" \) -o \ + \( "$target_name" = "i386" -a "$cpu" = "x32" \) \) ; then echo "CONFIG_KVM=y" >> $config_target_mak if test "$vhost_net" = "yes" ; then echo "CONFIG_VHOST_NET=y" >> $config_target_mak