From: Ian Jackson Subject: Re: [PATCH V9 04/12] remus: introduce a function to check whether network buffering is enabled Date: Wed, 23 Apr 2014 16:50:22 +0100 Message-ID: <21335.57662.629703.59288@mariner.uk.xensource.com> References: <1397540297-32184-1-git-send-email-yanghy@cn.fujitsu.com> <1397540297-32184-5-git-send-email-yanghy@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1397540297-32184-5-git-send-email-yanghy@cn.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Yang Hongyang Cc: ian.campbell@citrix.com, wency@cn.fujitsu.com, stefano.stabellini@eu.citrix.com, andrew.cooper3@citrix.com, yunhong.jiang@intel.com, eddie.dong@intel.com, xen-devel@lists.xen.org, rshriram@cs.ubc.ca, roger.pau@citrix.com, laijs@cn.fujitsu.com List-Id: xen-devel@lists.xenproject.org Yang Hongyang writes ("[PATCH V9 04/12] remus: introduce a function to check whether network buffering is enabled"): > libxl__netbuffer_enabled() returns 1 when network buffering is compiled, > or returns 0 when network buffering is not compiled. > > If network buffering is not compiled, and the user wants to use it, report > a error and exit. ... > +ifeq ($(CONFIG_REMUS_NETBUF),y) > +LIBXL_OBJS-y += libxl_netbuffer.o > +else > +LIBXL_OBJS-y += libxl_nonetbuffer.o > +endif Thanks. But I think this needs to be set somewhere ? Ian.