From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernhard Held Subject: Re: with kerenl 2.6.27, CONFIG_KVM_GUEST does not work Date: Tue, 14 Oct 2008 09:16:02 +0200 Message-ID: References: <519a8b110810100911j2e8229a2mf86f770b724a1bc3@mail.gmail.com> <20081011180436.GA13387@dmt.cnet> <48F440DC.9080608@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE To: kvm@vger.kernel.org Return-path: Received: from main.gmane.org ([80.91.229.2]:42066 "EHLO ciao.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757035AbYJNHZM (ORCPT ); Tue, 14 Oct 2008 03:25:12 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1KpeH9-0004kz-3T for kvm@vger.kernel.org; Tue, 14 Oct 2008 07:25:03 +0000 Received: from smtp.mgpi.de ([212.202.249.42]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Oct 2008 07:25:03 +0000 Received: from bheld by smtp.mgpi.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Oct 2008 07:25:03 +0000 In-Reply-To: <48F440DC.9080608@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: > Using this patch on a vanilla 2.6.27 kernel, I get this when I try to= =20 > compile it: >=20 > arch/x86/kvm/mmu.c: In function =91kvm_pv_mmu_flush_tlb=92: > arch/x86/kvm/mmu.c:2241: error: =91KVM_REQ_MMU_SYNC=92 undeclared (fi= rst use=20 > in this function) > arch/x86/kvm/mmu.c:2241: error: (Each undeclared identifier is report= ed=20 > only once > arch/x86/kvm/mmu.c:2241: error: for each function it appears in.) > make[2]: *** [arch/x86/kvm/mmu.o] Error 1 >=20 > It was fine with kvm-75 but I still not able to start my ubuntu 2.6.2= 7=20 > guest with kvm 75 qnd kvm 76. > host : vanilla 2.6.27 x86_64 > guest : ubuntu 8.10 (2.6.27) >=20 > I must be missing a patch somewhere... What kvm version are you building? The patch is not required for kvm-75= , kvm-75=20 won't build with it. I built kvm-77 with the patch. Try again with at l= east kvm-76. Bernhard