From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPra5-00075o-SW for qemu-devel@nongnu.org; Wed, 10 Apr 2013 05:44:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPra3-00045B-3R for qemu-devel@nongnu.org; Wed, 10 Apr 2013 05:44:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPra2-000455-Re for qemu-devel@nongnu.org; Wed, 10 Apr 2013 05:44:39 -0400 Message-ID: <51653480.20005@redhat.com> Date: Wed, 10 Apr 2013 11:44:32 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <516522FB.6090806@web.de> In-Reply-To: <516522FB.6090806@web.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] Add linux-headers to QEMU_INCLUDES List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Anthony Liguori , qemu-devel Il 10/04/2013 10:29, Jan Kiszka ha scritto: > From: Jan Kiszka > > virtio/dataplane/vring.c requires the Linux headers and is built for all > targets. So we need to add the corresponding include to QEMU_INCLUDES to > avoid that outdated distribution headers are used. > > Signed-off-by: Jan Kiszka > --- > configure | 5 +---- > 1 files changed, 1 insertions(+), 4 deletions(-) > > diff --git a/configure b/configure > index 1ed939a..ee07f07 100755 > --- a/configure > +++ b/configure > @@ -544,6 +544,7 @@ Haiku) > if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then > audio_possible_drivers="$audio_possible_drivers fmod" > fi > + QEMU_INCLUDES="-I\$(SRC_PATH)/linux-headers $QEMU_INCLUDES" > ;; > esac > > @@ -4230,10 +4231,6 @@ else > fi > includes="-I\$(SRC_PATH)/tcg $includes" > > -if test "$linux" = "yes" ; then > - includes="-I\$(SRC_PATH)/linux-headers $includes" > -fi > - > for i in $ARCH $TARGET_BASE_ARCH ; do > case "$i" in > alpha) > Reviewed-by: Paolo Bonzini