From mboxrd@z Thu Jan 1 00:00:00 1970 From: Freisei Subject: Re: compile problems userspace-tools from git on ubuntu intrepid 8.10 x64 Date: Thu, 05 Mar 2009 07:12:24 +0100 Message-ID: <49AF6D48.5020509@xp8.de> References: <49AE312F.3050604@xp8.de> <706158FABBBA044BAD4FE898A02E4BC2243A461D@pdsmsx503.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: "kvm@vger.kernel.org" To: unlisted-recipients:; (no To-header on input) Return-path: Received: from kunden.xp8.de ([88.198.145.222]:54559 "EHLO kunden.xp8.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750815AbZCEGM1 (ORCPT ); Thu, 5 Mar 2009 01:12:27 -0500 Received: from [192.168.8.204] (77-21-131-153-dynip.superkabel.de [77.21.131.153]) (Authenticated sender: info@xp8.de) by kunden.xp8.de (Postfix) with ESMTP id AFEE04C1E3C for ; Thu, 5 Mar 2009 07:09:04 +0100 (CET) In-Reply-To: <706158FABBBA044BAD4FE898A02E4BC2243A461D@pdsmsx503.ccr.corp.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: Thank you! Solved my problem! How could i know it without asking the list? greets freisei Zhang, Xiantao schrieb: > Did you do "make sync LINUX=3D/usr/local/src/linux-kvm-git" in kvm-us= erspace.git before your "./configure" ? > Xiantao > > freisei wrote: > =20 >> Hi @ll, >> >> I want to update my kvm-84 to the latest git releaste due to an >> IOMMU-feature. >> >> git clone git://git.kernel.org/pub/scm/virt/kvm/kvm-userspace.git >> >> >> Problem: kvm support no - (#error Missing KVM capability >> 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 >> 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 >> KVM_CAP_DESTROY_MEMORY_REGION_WORKS) >> fdt support no >> -------------------- >> "./configure --with-patched-kernel": same error >> >> i=B4ve changed the code to give me the var "kerneldir" - i think it=B4= s >> correct: "kerneldir: /lib/modules/2.6.29-rc6-xp8no7/build" >> >> then >> got newest KVM-Kernel with git clone >> git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git and >> compiled/installed it the debian/ubuntu way >> >> var "kerneldir" - i think it=B4s correct: "kerneldir: >> /lib/modules/2.6.29-rc6-xp8no8/build" >> >> root@xp8main3:/usr/local/src/kvm-userspace# ls -la >> /lib/modules/2.6.29-rc6-xp8no8/build >> lrwxrwxrwx 1 root root 29 2009-03-02 11:08 >> /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 = =20 >> samples=20 >> stamp-indep-conf >> block firmware Makefile scripts >> stamp-kernel-headers >> config.kbuild fs mm security >> stamp-kernel-image >> conf.vars include Module.markers sound =20 >> System.map COPYING init modules.order stamp-arch-conf = =20 >> usr=20 >> CREDITS ipc Module.symvers stamp-configure virt >> crypto Kbuild net stamp-configure-arch =20 >> vmlinux debian kernel README =20 >> stamp-configure-indep vmlinux.o Documentation lib =20 >> REPORTING-BUGS stamp-debian=20 >> >> looks good, i think. but even the same error: >> >> I think the configure method doesn=B4t recognize that i HAVE a kerne= l >> with "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# >> ../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 >> =20 > > =20