From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MDHgD-0002xY-77 for qemu-devel@nongnu.org; Sun, 07 Jun 2009 08:40:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MDHgC-0002xM-4r for qemu-devel@nongnu.org; Sun, 07 Jun 2009 08:40:52 -0400 Received: from [199.232.76.173] (port=55053 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MDHgC-0002xJ-0z for qemu-devel@nongnu.org; Sun, 07 Jun 2009 08:40:52 -0400 Received: from fg-out-1718.google.com ([72.14.220.157]:3750) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MDHgB-0002oN-GP for qemu-devel@nongnu.org; Sun, 07 Jun 2009 08:40:51 -0400 Received: by fg-out-1718.google.com with SMTP id l27so477599fgb.8 for ; Sun, 07 Jun 2009 05:40:50 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4A2BA708.4070004@redhat.com> References: <4A2A92FE.2010700@redhat.com> <4A2B6DD8.3090104@web.de> <4A2B7F5E.8050807@web.de> <4A2B8787.5080603@web.de> <20090607112325.GD29048@redhat.com> <4A2BA708.4070004@redhat.com> Date: Sun, 7 Jun 2009 15:40:50 +0300 Message-ID: Subject: Re: [Qemu-devel] Re: POLL: Why do you use kqemu? From: Blue Swirl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: =?UTF-8?Q?Andreas_F=C3=A4rber?= , Jan Kiszka , "qemu-devel@nongnu.org" , Gleb Natapov On 6/7/09, Avi Kivity wrote: > Blue Swirl wrote: > > > On 6/7/09, Gleb Natapov wrote: > > > > > > > On Sun, Jun 07, 2009 at 02:13:15PM +0300, Blue Swirl wrote: > > > > kvm-kmod seems to be available only for x86, not amd64. This is not > > > > mentioned in README (in fact, there is no README), configure will > > > > succeed and make will only generate funky errors. I only found this > > > > mentioned in http://www.linux-kvm.org/page/Code > after quite a bit of > > > > head scratching. > > > > > > > > > > Never used kvm-kmod on x86 only with x86_64. > > > > > > > > > > How do you compile it then, I only get so far: > > $ make V=1 > > make -C /lib/modules/2.6.26-2-amd64/build M=`pwd` \ > > LINUXINCLUDE="-I`pwd`/include -Iinclude \ > > \ > > -Iarch/x86/include -I`pwd`/include-compat \ > > -include include/linux/autoconf.h \ > > -include > `pwd`/x86/external-module-compat.h " \ > > "$@" > > make[1]: Entering directory > `/usr/src/linux-headers-2.6.26-2-amd64' > > test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( > \ > > echo; \ > > echo " ERROR: Kernel configuration is invalid."; \ > > echo " include/linux/autoconf.h or > > include/config/auto.conf are missing."; \ > > echo " Run 'make oldconfig && make prepare' on kernel > > src to fix it."; \ > > echo; \ > > /bin/false) > > mkdir -p /tmp/kvm-kmod/.tmp_versions ; rm -f /tmp/kvm-kmod/.tmp_versions/* > > make -f scripts/Makefile.build obj=/tmp/kvm-kmod > > make -f scripts/Makefile.build obj=/tmp/kvm-kmod/x86 > > make[3]: *** No rule to make target `/tmp/kvm-kmod/x86/svm.o', needed > > by `/tmp/kvm-kmod/x86/kvm.o'. Stop. > > make[2]: *** [/tmp/kvm-kmod/x86] Error 2 > > make[1]: *** [_module_/tmp/kvm-kmod] Error 2 > > make[1]: Leaving directory > `/usr/src/linux-headers-2.6.26-2-amd64' > > make: *** [all] Error 2 > > > > > > What are you building, exactly? Did you load the tarball from sourceforge, > or kvm-kmod from git? git clone git://git.kernel.org/pub/scm/virt/kvm/kvm-kmod.git