From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] Account for Fedora kernels with backported vzalloc Date: Tue, 17 May 2011 20:30:04 +0300 Message-ID: <4DD2B09C.5080208@redhat.com> References: <1305644154-22027-1-git-send-email-bernhard.kohl@nsn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, jan.kiszka@siemens.com To: Bernhard Kohl Return-path: Received: from mx1.redhat.com ([209.132.183.28]:10700 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754976Ab1EQRaP (ORCPT ); Tue, 17 May 2011 13:30:15 -0400 In-Reply-To: <1305644154-22027-1-git-send-email-bernhard.kohl@nsn.com> Sender: kvm-owner@vger.kernel.org List-ID: On 05/17/2011 05:55 PM, Bernhard Kohl wrote: > kvm-kmod-2.6.38.6 does not compile on Fedora kernels>= 2.6.35.11. > index a40c39f..b91587c 100755 > --- a/configure > +++ b/configure > @@ -153,6 +153,13 @@ if [ -n "$no_uname" -a "$want_module" ]; then > depmod_version=$kernel_version > fi > > +# Check if it is a Fedora kernel, e.g. 2.6.35.13-91.fc14.x86_64 > +if echo "$kernel_version" | grep -qE '[0-9.-]+\.fc[0-9]+\..+'; then > + config_fedora_kernel="#define CONFIG_FEDORA_KERNEL 1" > +else > + config_fedora_kernel="#undef CONFIG_FEDORA_KERNEL" > +fi > + Curious, why are you targetting Fedora kernels at all? They have a really short shelf life. I though kvm-kmod was for people using longer term kernels like enterprise distros or long lived embedded projects. For Fedora, you can use the native kvm, or install a rawhide kernel, or an upstream kernel with 'make localmodconfig'. -- error compiling committee.c: too many arguments to function