[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 1/2] kvm: Use kvm-kmod headers if available

From: Jan Kiszka
Subject: [Qemu-devel] [PATCH 1/2] kvm: Use kvm-kmod headers if available
Date: Tue, 12 Jan 2010 19:53:45 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv: Gecko/20080226 SUSE/ Thunderbird/ Mnenhy/

Since kvm-kmod- we have an alternative source for recent KVM
kernel headers. Use it when available and not overruled by --kerneldir.

Signed-off-by: Jan Kiszka <address@hidden>

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"
-      kvm_cflags=""
+    kvm_cflags=`pkg-config --cflags kvm-kmod 2> /dev/null`
   if compile_prog "$kvm_cflags" "" ; then

reply via email to

[Prev in Thread] Current Thread [Next in Thread]