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<[email protected]>

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




--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to