From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aidan Marks Subject: kvm-kmod 88 or git not working with 2.6.31 Date: Sat, 19 Sep 2009 12:19:08 +1000 Message-ID: <4AB43F9C.50000@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from syd-iport-2.cisco.com ([64.104.193.197]:1303 "EHLO syd-iport-2.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756995AbZISC32 (ORCPT ); Fri, 18 Sep 2009 22:29:28 -0400 Received: from syd-core-1.cisco.com (syd-core-1.cisco.com [64.104.193.198]) by syd-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id n8J2JBxZ010607 for ; Sat, 19 Sep 2009 12:19:11 +1000 Received: from [192.168.0.58] (syd-amarks-8711.cisco.com [10.67.241.130]) by syd-core-1.cisco.com (8.13.8/8.14.3) with SMTP id n8J2JB2X018929 for ; Sat, 19 Sep 2009 02:19:11 GMT Sender: kvm-owner@vger.kernel.org List-ID: Hello I am trying to compile kvm-kmod-devel-88.tar.gz with 2.6.31. Seems there is a missing header file. vger kvm-kmod-devel-88 # make make -C /lib/modules/2.6.31-gentoo/build M=`pwd` \ LINUXINCLUDE="-I`pwd`/include -Iinclude \ -Iarch/x86/include -I`pwd`/include-compat \ -include include/linux/autoconf.h \ -include `pwd`/x86/external-module-compat.h " \ "$@" make[1]: Entering directory `/usr/src/linux-2.6.31-gentoo' LD /tmp/kvm-kmod-devel-88/x86/built-in.o CC [M] /tmp/kvm-kmod-devel-88/x86/svm.o CC [M] /tmp/kvm-kmod-devel-88/x86/vmx.o CC [M] /tmp/kvm-kmod-devel-88/x86/vmx-debug.o CC [M] /tmp/kvm-kmod-devel-88/x86/kvm_main.o CC [M] /tmp/kvm-kmod-devel-88/x86/x86.o In file included from /tmp/kvm-kmod-devel-88/x86/trace.h:355, from /tmp/kvm-kmod-devel-88/x86/x86.c:83: include/trace/define_trace.h:53:43: error: arch/x86/kvm/trace.h: No such file or directory make[3]: *** [/tmp/kvm-kmod-devel-88/x86/x86.o] Error 1 make[2]: *** [/tmp/kvm-kmod-devel-88/x86] Error 2 make[1]: *** [_module_/tmp/kvm-kmod-devel-88] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.31-gentoo' make: *** [all] Error 2 I also tried pulling from git via: git clone git://git.kernel.org/pub/scm/virt/kvm/kvm-kmod.git cd kvm-kmod git submodule update --init ./configure --kerneldir=/usr/src/linux make sync make still the same error. is there a patch for 2.6.31 support? thanks Aidan cisco Systems, Inc.