On 08/26/2010 11:41 AM, Hollis Blanchard wrote:
On 08/26/2010 08:48 AM, Anthony Liguori wrote:
On 08/26/2010 10:21 AM, Gleb Natapov wrote:
You forgot about developers. Developer may want to use latest kvm
kernel
headers to compile code that he added to qemu to use new kernel
feature.
The Right Way to do this is a make headers_install to a temporary
directory and then -I include that directory. Building directly from
the kernel source tree was never the right thing to do.
Thanks, this worked well.
What are your thoughts on renaming the configure option to
--kernel-headers?
--kerneldir=PATH look for kernel includes in PATH
That's fine but FWIW, --kerneldir was intended to work with a kernel
source tree. It's just that that's become impossible in recent kernels.
Regards,
Anthon Liguori
Hollis Blanchard
Mentor Graphics, Embedded Systems Division