From: Wei Liu Subject: Re: [OPW PATCH V4] tools: xl: refactor code to parse network device options Date: Fri, 24 Oct 2014 10:32:30 +0100 Message-ID: <20141024093230.GA15988@zion.uk.xensource.com> References: <1413927381-21549-1-git-send-email-alecsandra.sandulescu@gmail.com> <1413977758.19198.12.camel@citrix.com> <20141022202146.GB6020@laptop.dumpdata.com> <1414050974.20604.79.camel@citrix.com> <3C254340-3D3F-4744-81FA-D9E65450D9A4@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XhbEX-0000Nq-Qj for xen-devel@lists.xenproject.org; Fri, 24 Oct 2014 09:32:33 +0000 Content-Disposition: inline In-Reply-To: <3C254340-3D3F-4744-81FA-D9E65450D9A4@oracle.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: Konrad Rzeszutek Wilk Cc: xen-devel@lists.xenproject.org, konrad@darnok.org, wei.liu2@citrix.com, Ian Campbell , Alexandra Sandulescu List-Id: xen-devel@lists.xenproject.org On Thu, Oct 23, 2014 at 04:08:09PM -0400, Konrad Rzeszutek Wilk wrote: > On October 23, 2014 3:56:14 AM EDT, Ian Campbell wrote: > >On Wed, 2014-10-22 at 16:21 -0400, Konrad Rzeszutek Wilk wrote: > >> On Wed, Oct 22, 2014 at 12:35:58PM +0100, Ian Campbell wrote: > >> > On Wed, 2014-10-22 at 00:36 +0300, Alexandra Sandulescu wrote: > >> > > This patch removes duplicate code in /tools/libxl/xl_cmdimpl.c by > >> > > adding parse_nic_config function. This function parses > >configuration > >> > > data and adds the information into libxl_device_nic struct. It is > >> > > called in both main_networkattach and parse_config_data functions > >> > > to replace duplicate code. > >> > > > >> > > Signed-off-by: Alexandra Sandulescu > > > >> > > Acked-by: Wei Liu > >> > > >> > This looks good to me, thanks. In reply to the first posting I > >asked: > >> > Did you test both code paths? (wrt cfg file vs xl network-attach > >usage). > >> > Did you? > >> > > >> > Konrad, any reply to Wei's pros/cons on this patch for 4.5? > >> > (<20141021152420.GI10234@zion.uk.xensource.com>) > >> > >> Release-Acked-by: Konrad Rzeszutek Wilk > >> > >> I am making this based on the fact that: > >> - It has run through the OSSTest which does a ton of tests so the > >> chance of regression is almost nill. > > > >You mean "will", not "has", right? Since it won't be run through > >osstest > >until it is committed. > > Has. Wei said it had run through it. > Nope. Did I get the grammar wrong? Sorry. ;-) > > > >Ian. >