Received: from eggs.gnu.org ([2001:4830:134:3::10]:54693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zudux-0005d5-I9 for qemu-devel@nongnu.org; Fri, 06 Nov 2015 05:06:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zudut-0008AX-6E for qemu-devel@nongnu.org; Fri, 06 Nov 2015 05:06:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zudut-0008AT-0F for qemu-devel@nongnu.org; Fri, 06 Nov 2015 05:06:43 -0500 From: Markus Armbruster References: <911665eb3158159da19e7bf1c931f6311a246be9.1446714761.git.v.maffione@gmail.com> <87wptwvbvy.fsf@blackfin.pond.sub.org> <563B6BAD.4030202@redhat.com> <563B6F32.4090909@redhat.com> Date: Fri, 06 Nov 2015 11:06:37 +0100 In-Reply-To: (Vincenzo Maffione's message of "Thu, 5 Nov 2015 21:27:41 +0100") Message-ID: <87611fcuhe.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 1/2] net: netmap: Fix compilation issue List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vincenzo Maffione Cc: Jason Wang , qemu-devel , Stefan Hajnoczi , Giuseppe Lettieri , Luigi Rizzo Vincenzo Maffione writes: > 2015-11-05 16:01 GMT+01:00 Eric Blake : >> On 11/05/2015 07:52 AM, Vincenzo Maffione wrote: >>> No worries. >>> >>> It needs --enable-netmap (default is --disable-netmap on linux), and >>> --extra-cflags=-I/path/to/netmap/sys for netmap API headers. >>> >>> (netmap code is avaliable here https://github.com/luigirizzo/netmap) >> >> Default-off tends to bit-rot; default-probe is slightly better (compile >> if /path/to/netmap/sys is found during configure, otherwise not). But >> not the end of the world. > > The default-off decision was taken at the time when netmap was merged > in (see the > "[PATCH v3] net: Adding netmap network backend" thread). > The qemu ./configure already has support for probing netmap headers, > so we could actually switch to default-on also on linux (like it > happens for freebsd qemu build). > > Thanks for the pointer to the headers. Any >> idea if someone is trying to package netmap development headers for Fedora? > > No idea, unfortunately. I personally maintain an AUR package for > Archlinux (https://aur.archlinux.org/packages/netmap/), that's all I > know. Having netmap headers packaged in some distributions is > something we were willing to do, but still nothing has been done, > afaik. As long as netmap isn't packaged in at least one distro we actually compile-test before merge into master, enabling it automatically won't do squat for avoiding bitrot.