From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sheng Yang Subject: Re: Compile faillure with 2.6.27-rc9-git1 Date: Thu, 9 Oct 2008 19:59:30 +0800 Message-ID: <20081009115930.GA13408@yukikaze> References: <48ECD803.2060207@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Xavier Gnata Return-path: Received: from ti-out-0910.google.com ([209.85.142.188]:9699 "EHLO ti-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755009AbYJIL7h (ORCPT ); Thu, 9 Oct 2008 07:59:37 -0400 Received: by ti-out-0910.google.com with SMTP id b6so2551687tic.23 for ; Thu, 09 Oct 2008 04:59:35 -0700 (PDT) Content-Disposition: inline In-Reply-To: <48ECD803.2060207@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Oct 08, 2008 at 05:55:47PM +0200, Xavier Gnata wrote: > Hi, > > I'm trying to compile kvm-76 on a box running 2.6.27-rc9-git1 (yeah > ok...rc+git...). > I get this error: > In file included from /usr/local/src/kvm-76/kernel/x86/svm.c:16: > /usr/local/src/kvm-76/kernel/include/linux/kvm_host.h:128: error: field > ?mmu_notifier? has incomplete type > > Sorry for the noise if it is a non relevant or a well know issue. > Seems you miss something in .config, probably CONFIG_KVM or CONFIG_VIRTUALIZATION. Did you enable KVM when you build the kernel? You can use "make menuconfig" then search MMU_NOTIFIER to find what config it depends on. In the most condition, simple enable KVM support when you compiling the kernel just OK. -- regards Yang, Sheng