From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: Re: [PATCH OSSTEST v2 05/19] Refactor pxelinux configuration Date: Fri, 19 Jun 2015 11:45:22 +0100 Message-ID: <21891.62146.158392.816257@mariner.uk.xensource.com> References: <1434644687.28264.53.camel@citrix.com> <1434644710-28881-5-git-send-email-ian.campbell@citrix.com> <21891.1204.390933.200005@mariner.uk.xensource.com> <1434707612.28264.67.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1434707612.28264.67.camel@citrix.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: Ian Campbell Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [PATCH OSSTEST v2 05/19] Refactor pxelinux configuration"): > On Thu, 2015-06-18 at 18:49 +0100, Ian Jackson wrote: > > Are you expecting to introduce setup_FIRMWARE_SOMETHINGELSE ? > > I think initially I was initially expecting to but ended up not needing > to. > > I will assume you would also prefer "setup_${firmware}_pxeboot_local" to > become "setup_pxeboot_local_${firmware}" (rather than "setup_pxeboot_ > ${firmware}_local"). Yes. (Do we mean `pxeboot' or `netboot'?) > > > + $xopts{ipappend} = $ipappend; > > > + setup_pxeboot($ho, $kernel, "/$initrd", $dicmd, $hocmd, %xopts); > > > > Perhaps setup_pxeboot (which maybe should be renamed?) should do the > > joining ? You could pass \@dicmdline and \@hocmdline. > > Good idea. > > Do you think setup_pxeboot maybe ought to be setup_pxeboot_di or > something along those lines? Quite possibly, yes. Or maybe setup_netboot_di. Ian.