From mboxrd@z Thu Jan 1 00:00:00 1970 From: walt Subject: Preventing conflicts between kernel header versions? Date: Sat, 08 Nov 2008 16:36:25 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from main.gmane.org ([80.91.229.2]:53616 "EHLO ciao.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750985AbYKIAgt (ORCPT ); Sat, 8 Nov 2008 19:36:49 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KyyIB-000593-MX for kvm@vger.kernel.org; Sun, 09 Nov 2008 00:36:39 +0000 Received: from adsl-69-234-183-20.dsl.irvnca.pacbell.net ([69.234.183.20]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Nov 2008 00:36:39 +0000 Received: from w41ter by adsl-69-234-183-20.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Nov 2008 00:36:39 +0000 Sender: kvm-owner@vger.kernel.org List-ID: Hi kvm team, I'm tracking Linus.git, kvm.git, and VirtualBox.svn, among other open source projects. I'm finding a conflict between kvm.git and VirtualBox.svn over the version of my linux kernel headers. Specifically, kvm wants the files asm/kvm_para.h (and friends), but apparently looks in /usr/include/asm for those files and can't find them --> because my linux distro installs kernel headers from 2.6.26 in /usr/include/linux and /usr/include/asm. If I make /usr/include/linux and /usr/include/asm symlinks to my Linus.git repository, then kvm is happy and I'm happy -- until I try to build VirtualBox.svn, which is now broken because of those very same symlinks. Because kvm is very fussy about using exactly the correct version of the linux kernel headers, wouldn't it be reasonable to teach kvm.git to look in the right place for those headers instead of in /usr/include? I.e. /lib/modules/2.6.28-rc3/build/ for example. Is there an easier way to fix this problem? Thanks!