From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: kvm-userspace requires kvm capable kernel headers in default search path of the compiler Date: Sun, 14 Dec 2008 09:57:59 +0200 Message-ID: <4944BC87.1040705@redhat.com> References: <493FBB32.8000507@linux.vnet.ibm.com> <1229042128.26586.61.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Christian Ehrhardt , kvm To: Hollis Blanchard Return-path: Received: from mx2.redhat.com ([66.187.237.31]:60730 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751034AbYLNH6H (ORCPT ); Sun, 14 Dec 2008 02:58:07 -0500 In-Reply-To: <1229042128.26586.61.camel@localhost.localdomain> Sender: kvm-owner@vger.kernel.org List-ID: Hollis Blanchard wrote: > 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? > I guess kvm detection changed, or perhaps on your host there are no kvm headers in /usr/include. I don't see a way to work around this; before a 'make sync', one cannot detect kvm support reliably. -- error compiling committee.c: too many arguments to function