qemu-devel
[Top][All Lists]
Advanced

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

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


From: Gleb Natapov
Subject: Re: [Qemu-devel] Re: vhost_net.c broken by --kerneldir
Date: Thu, 26 Aug 2010 09:29:28 +0300

On Wed, Aug 25, 2010 at 10:21:18AM -0700, Hollis Blanchard wrote:
> 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).
> 
I just add --extra-cflags=-D__EXPORTED_HEADERS__ to ./configure

--
                        Gleb.



reply via email to

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