From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=60075 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OoJf9-0001kU-OF for qemu-devel@nongnu.org; Wed, 25 Aug 2010 13:21:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OoJf8-0005WD-Oc for qemu-devel@nongnu.org; Wed, 25 Aug 2010 13:21:23 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:35406) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OoJf8-0005Vq-Hl for qemu-devel@nongnu.org; Wed, 25 Aug 2010 13:21:22 -0400 Message-ID: <4C75510E.3080500@mentor.com> Date: Wed, 25 Aug 2010 10:21:18 -0700 From: Hollis Blanchard MIME-Version: 1.0 References: <4C746A1E.6070000@mentor.com> In-Reply-To: <4C746A1E.6070000@mentor.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: vhost_net.c broken by --kerneldir List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: mst@redhat.com 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 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 > ". 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