From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hollis Blanchard Subject: Re: kvm-userspace requires kvm capable kernel headers in default search path of the compiler Date: Thu, 11 Dec 2008 18:35:28 -0600 Message-ID: <1229042128.26586.61.camel@localhost.localdomain> References: <493FBB32.8000507@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: kvm , Avi Kivity To: Christian Ehrhardt Return-path: Received: from e3.ny.us.ibm.com ([32.97.182.143]:37863 "EHLO e3.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756201AbYLLAf2 (ORCPT ); Thu, 11 Dec 2008 19:35:28 -0500 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e3.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id mBC0YjCK030927 for ; Thu, 11 Dec 2008 19:34:45 -0500 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id mBC0ZRKD195458 for ; Thu, 11 Dec 2008 19:35:27 -0500 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id mBC0ZRjl022159 for ; Thu, 11 Dec 2008 19:35:27 -0500 In-Reply-To: <493FBB32.8000507@linux.vnet.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, 2008-12-10 at 13:50 +0100, Christian Ehrhardt wrote: > Hi everyone, > while running a test when updating kvm-userspace for powerpc I found > that the current kvm userspace requires kvm kernel headers in the > default search path of the used compilers. You lost me with this mail, but after hitting the problem myself, I think I can summarize: % ./configure KVM support no % cd kernel; make sync LINUX=/home/hollisb/source/kvm.git; cd .. % ./configure KVM support yes This is building x86 kvm-userspace.git on an x86 host; no cross-compiling or PowerPC involved. This seems wrong to me, and also contradicts the "building an external module with older kernels" directions at http://kvm.qumranet.com/kvmwiki/Code . Avi, did something in the build procedure break recently? -- Hollis Blanchard IBM Linux Technology Center