On 08/24/2010 05:55 PM, Hollis Blanchard wrote:

The problem seems to be that jump from /usr/include/bits/sigcontext.h to asm/sigcontext.h inside <kerneldir> rather than inside /usr/include. It seems like adding -Ikerneldir/arch/foo/include will always be a problem, since it will always be used to satisfy "#include <asm/bar.h>". Only files built with KVM_CFLAGS would be affected, and I guess vhost_net.c accidentally gets into a broken include path where the other KVM_CFLAGS files doesn't.

Small correction: kvm.c doesn't build either (when I configure --disable-vhost-net).

Hollis Blanchard
Mentor Graphics, Embedded Systems Division


Reply via email to