|
| From: | Anthony Liguori |
| Subject: | Re: [Qemu-devel] [PATCH 1/2] kvm: Use kvm-kmod headers if available |
| Date: | Tue, 12 Jan 2010 14:36:54 -0600 |
| User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0 |
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<address@hidden>
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
| [Prev in Thread] | Current Thread | [Next in Thread] |