From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=53540 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OofW3-0002Qc-9F for qemu-devel@nongnu.org; Thu, 26 Aug 2010 12:41:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OofVy-0007nL-7s for qemu-devel@nongnu.org; Thu, 26 Aug 2010 12:41:27 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:54543) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OofVy-0007mz-3b for qemu-devel@nongnu.org; Thu, 26 Aug 2010 12:41:22 -0400 Message-ID: <4C76992B.4030902@mentor.com> Date: Thu, 26 Aug 2010 09:41:15 -0700 From: Hollis Blanchard MIME-Version: 1.0 Subject: Re: [Qemu-devel] vhost_net.c broken by --kerneldir References: <4C746A1E.6070000@mentor.com> <201008251537.27679.arnd@arndb.de> <4C755165.4040804@mentor.com> <201008261715.36022.arnd@arndb.de> <20100826152142.GV10499@redhat.com> <4C768CE3.2070304@codemonkey.ws> In-Reply-To: <4C768CE3.2070304@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: mst@redhat.com, Arnd Bergmann , Gleb Natapov , qemu-devel@nongnu.org On 08/26/2010 08:48 AM, Anthony Liguori wrote: > On 08/26/2010 10:21 AM, Gleb Natapov wrote: >> You forgot about developers. Developer may want to use latest kvm kernel >> headers to compile code that he added to qemu to use new kernel feature. > > The Right Way to do this is a make headers_install to a temporary > directory and then -I include that directory. Building directly from > the kernel source tree was never the right thing to do. Thanks, this worked well. What are your thoughts on renaming the configure option to --kernel-headers? --kerneldir=PATH look for kernel includes in PATH Hollis Blanchard Mentor Graphics, Embedded Systems Division