qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Set a useful default for kerneldir


From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH] Set a useful default for kerneldir
Date: Wed, 01 Jul 2009 18:10:11 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

On 07/01/2009 04:31 PM, Anthony Liguori wrote:
Andi Kleen wrote:
When no explicit kerneldir is specified use the standard
/lib/modules/$(uname -r)/build
convention to find the kernel includes. This should work out of the box on a large number of distributions.

Also support separate objdirs.

Signed-off-by: Andi Kleen <address@hidden>

The reason we don't specify an explicit include is that it makes it possible to have a cross compiler with headers installed in the cross compilers root. If you default to /lib/modules, you have to explicitly override it when cross compiling.

Another option would be to just include the KVM headers in QEMU.

Or to have kvm-kmod install the headers in /usr/local/include. I'm wary about that though, it makes qemu features depend on the installation order of qemu and kvm-kmod.

--
error compiling committee.c: too many arguments to function





reply via email to

[Prev in Thread] Current Thread [Next in Thread]