qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] vhost_net.c broken by --kerneldir


From: Anthony Liguori
Subject: Re: [Qemu-devel] vhost_net.c broken by --kerneldir
Date: Thu, 26 Aug 2010 14:01:13 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Lightning/1.0b1 Thunderbird/3.0.6

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





reply via email to

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