mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
kvm: Use kvm-kmod headers if available
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>
This commit is contained in:
parent
23842aabe6
commit
ffd8b67f5d
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue