From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Gao Subject: Re: KVM-82 failed to compile Date: Fri, 02 Jan 2009 09:52:50 -0800 Message-ID: <495E5472.8060402@schrodinger.com> References: <495D24C2.4030204@schrodinger.com> <20090102082927.GA26068@sajinet.com.pe> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: KVM list To: Carlo Marcelo Arenas Belon Return-path: Received: from thermidore.schrodinger.com ([192.156.98.99]:4895 "EHLO schrodinger.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758515AbZABSTH (ORCPT ); Fri, 2 Jan 2009 13:19:07 -0500 In-Reply-To: <20090102082927.GA26068@sajinet.com.pe> Sender: kvm-owner@vger.kernel.org List-ID: Carlo Marcelo Arenas Belon wrote: > Thu, Jan 01, 2009 at 12:17:06PM -0800, Simon Gao wrote: > =20 >> I am seeing following error while compiling kvm-82: >> >> In file included from /tmp/kvm-82/kernel/x86/svm.c:56: >> /tmp/kvm-82/kernel/include/linux/kvm_host.h:171: error: field >> =E2=80=98mmu_notifier=E2=80=99 has incomplete type >> =20 > > does that line correspond to "struct mmu_motifier"? > > =20 >> This error occurred to both linux-2.6.26-gentoo-r4 and >> linux-2.6.27-gentoo-r7. >> =20 > > has your kernel configuration (/usr/src/linux/.config) the following > enabled? > > CONFIG_MMU_NOTIFIER=3Dy > > =20 I did not see the config parameter in my .config file, only has: CONFIG_MMU=3Dy # CONFIG_IOMMU_HELPER is not set Is there other parameter to enable to see the option?