From: Ian Campbell Subject: Re: [PATCH 4 of 4 V5] tools/xl: Remus - Network buffering cmdline switch Date: Thu, 12 Dec 2013 11:07:28 +0000 Message-ID: <1386846448.11201.2.camel@kazak.uk.xensource.com> References: <3c11efb5e8fef9f07027.1384804987@athos.nss.cs.ubc.ca> <21139.28368.115580.228571@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: rshriram@cs.ubc.ca Cc: Andrew Cooper , Stefano Stabellini , Ian Jackson , Roger Pau Monne , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Wed, 2013-12-11 at 21:45 -0800, Shriram Rajagopalan wrote: > On Mon, Nov 25, 2013 at 7:37 AM, Ian Jackson wrote: > Shriram Rajagopalan writes ("[PATCH 4 of 4 V5] tools/xl: Remus - Network buffering cmdline switch"): > > tools/xl: Remus - Network buffering cmdline switch > > > > Command line switch to 'xl remus' command, to enable network buffering. > > Pass on this flag to libxl so that it can act accordingly. > > Also update man pages to reflect the addition of a new option to > > 'xl remus' command. > Shouldn't enabling network buffering be the default ? > Given that network buffering support is conditionally compiled into > libxl, it makes sense to let the user explicitly enable network buffering. > If network buffering was enabled by default, but libxl was missing the feature, > then running xl remus (without any option) would immediately fail saying network > buffering support is missing. Might as well make people enable it explicitly and > then discover the lack of support for it inside libxl. The default should be set depending on whether support was enabled in libxl or not. libxl_defbool is the mechanism which allows this sort of thing to be decided at the library level. Ian.