From mboxrd@z Thu Jan 1 00:00:00 1970 From: freisei Subject: compile problems userspace-tools from git on ubuntu intrepid 8.10 x64 Date: Wed, 04 Mar 2009 08:43:43 +0100 Message-ID: <49AE312F.3050604@xp8.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE To: kvm@vger.kernel.org Return-path: Received: from kunden.xp8.de ([88.198.145.222]:53524 "EHLO kunden.xp8.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754839AbZCDHnx (ORCPT ); Wed, 4 Mar 2009 02:43:53 -0500 Received: from [192.168.11.101] (p5B0846C7.dip.t-dialin.net [91.8.70.199]) (Authenticated sender: info@xp8.de) by kunden.xp8.de (Postfix) with ESMTP id 1C76E4C1E3C for ; Wed, 4 Mar 2009 08:39:33 +0100 (CET) Sender: kvm-owner@vger.kernel.org List-ID: Hi @ll, I want to update my kvm-84 to the latest git releaste due to an=20 IOMMU-feature. git clone git://git.kernel.org/pub/scm/virt/kvm/kvm-userspace.git Problem: kvm support no - (#error Missing KVM capability=20 KVM_CAP_DESTROY_MEMORY_REGION_WORKS) -------------------- root@xp8main3:/usr/local/src/kvm-userspace# ./configure Install prefix /usr/local BIOS directory /usr/local/share/qemu binary directory /usr/local/bin Manual directory /usr/local/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /usr/local/src/kvm-userspace/qemu C compiler gcc Host C compiler gcc ARCH_CFLAGS -m64 make make install install host CPU x86_64 host big endian no target list x86_64-softmmu gprof enabled no sparse enabled no profiler no static build no -Werror enabled no SDL support yes SDL static link yes curses support yes mingw32 support no Audio drivers oss Extra audio cards ac97 es1370 sb16 Mixer emulation no VNC TLS support no kqemu support no kvm support no - (#error Missing KVM capability=20 KVM_CAP_DESTROY_MEMORY_REGION_WORKS) CPU emulation yes brlapi support no Documentation no NPTL support yes vde support no AIO support yes Install blobs yes KVM support no - (#error Missing KVM capability=20 KVM_CAP_DESTROY_MEMORY_REGION_WORKS) fdt support no -------------------- "./configure --with-patched-kernel": same error i=C2=B4ve changed the code to give me the var "kerneldir" - i think it=C2= =B4s=20 correct: "kerneldir: /lib/modules/2.6.29-rc6-xp8no7/build" then got newest KVM-Kernel with git clone=20 git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git and=20 compiled/installed it the debian/ubuntu way var "kerneldir" - i think it=C2=B4s correct: "kerneldir:=20 /lib/modules/2.6.29-rc6-xp8no8/build" root@xp8main3:/usr/local/src/kvm-userspace# ls -la=20 /lib/modules/2.6.29-rc6-xp8no8/build lrwxrwxrwx 1 root root 29 2009-03-02 11:08=20 /lib/modules/2.6.29-rc6-xp8no8/build -> /usr/local/src/linux-kvm-git/ root@xp8main3:/usr/local/src/kvm-userspace# ls /usr/local/src/linux-kvm= -git/ arch drivers MAINTAINERS samples =20 stamp-indep-conf block firmware Makefile scripts =20 stamp-kernel-headers config.kbuild fs mm security =20 stamp-kernel-image conf.vars include Module.markers sound System.= map COPYING init modules.order stamp-arch-conf usr CREDITS ipc Module.symvers stamp-configure virt crypto Kbuild net stamp-configure-arch vmlinux debian kernel README stamp-configure-indep vmlinux= =2Eo Documentation lib REPORTING-BUGS stamp-debian looks good, i think. but even the same error: I think the configure method doesn=C2=B4t recognize that i HAVE a kerne= l with=20 "CAP_DESTROY_MEMORY_REGION_WORKS" found line 1029 in qemu/configure #include which kvm.h is tested here? must be this? root@xp8main3:/usr/local/src/kvm-userspace#=20 =2E./linux-kvm-git/include/linux/kvm.h found this lines: /* Bug in KVM_SET_USER_MEMORY_REGION fixed: */ #define KVM_CAP_DESTROY_MEMORY_REGION_WORKS 21 I found it but not the qemu/configure.... Any suggestions? System is Ubuntu 8.10 x64 greets freisei