From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUnU6-00024q-HH for qemu-devel@nongnu.org; Tue, 12 Jan 2010 15:37:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUnU2-00023B-TO for qemu-devel@nongnu.org; Tue, 12 Jan 2010 15:37:02 -0500 Received: from [199.232.76.173] (port=51671 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUnU2-000230-LX for qemu-devel@nongnu.org; Tue, 12 Jan 2010 15:36:58 -0500 Received: from mail-qy0-f194.google.com ([209.85.221.194]:34980) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NUnU2-0004qs-A0 for qemu-devel@nongnu.org; Tue, 12 Jan 2010 15:36:58 -0500 Received: by mail-qy0-f194.google.com with SMTP id 32so2630956qyk.4 for ; Tue, 12 Jan 2010 12:36:58 -0800 (PST) Message-ID: <4B4CDD66.4030505@codemonkey.ws> Date: Tue, 12 Jan 2010 14:36:54 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 1/2] kvm: Use kvm-kmod headers if available References: <4B4CC539.10306@siemens.com> In-Reply-To: <4B4CC539.10306@siemens.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Anthony Liguori , Gleb Natapov , kvm , Marcelo Tosatti , qemu-devel , Avi Kivity On 01/12/2010 12:53 PM, Jan Kiszka wrote: > Since kvm-kmod-2.6.32.2 we have an alternative source for recent KVM > kernel headers. Use it when available and not overruled by --kerneldir. > > Signed-off-by: Jan Kiszka > Applied all. Thanks. Regards, Anthony Liguori > --- > > Note: This is the upstream version first. qemu-kvm differs in this area, > I will post corresponding patches for that tree later. > > configure | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/configure b/configure > index 5c056f5..623c30e 100755 > --- a/configure > +++ b/configure > @@ -1384,7 +1384,7 @@ EOF > kvm_cflags="$kvm_cflags -I$kerneldir/arch/$cpu/include" > fi > else > - kvm_cflags="" > + kvm_cflags=`pkg-config --cflags kvm-kmod 2> /dev/null` > fi > if compile_prog "$kvm_cflags" "" ; then > kvm=yes > > > >