All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] kvm: Use kvm-kmod headers if available
@ 2010-01-12 18:53 ` Jan Kiszka
  0 siblings, 0 replies; 8+ messages in thread
From: Jan Kiszka @ 2010-01-12 18:53 UTC (permalink / raw)
  To: Anthony Liguori
  Cc: Avi Kivity, Marcelo Tosatti, Gleb Natapov, qemu-devel, kvm

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>
---

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

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-01-12 21:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-12 18:53 [PATCH 1/2] kvm: Use kvm-kmod headers if available Jan Kiszka
2010-01-12 18:53 ` [Qemu-devel] " Jan Kiszka
2010-01-12 20:20 ` Doug Goldstein
2010-01-12 20:20   ` [Qemu-devel] " Doug Goldstein
2010-01-12 21:22   ` Jan Kiszka
2010-01-12 21:22     ` [Qemu-devel] " Jan Kiszka
2010-01-12 20:36 ` [Qemu-devel] " Anthony Liguori
2010-01-12 20:36   ` Anthony Liguori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.