projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58934ec
)
kvm: Use kvm-kmod headers if available
author
Jan Kiszka
<jan.kiszka@siemens.com>
Tue, 12 Jan 2010 18:53:45 +0000
(19:53 +0100)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Tue, 12 Jan 2010 20:32:19 +0000
(14:32 -0600)
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 <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
5c056f5
..
623c30e
100755
(executable)
--- 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