Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YrkFC-0001mU-2C for mharc-grub-devel@gnu.org; Mon, 11 May 2015 05:43:26 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrkF9-0001jh-UL for grub-devel@gnu.org; Mon, 11 May 2015 05:43:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YrkF9-0007Ue-1K for grub-devel@gnu.org; Mon, 11 May 2015 05:43:23 -0400 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::12]:34308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrkF8-0007UE-HX for grub-devel@gnu.org; Mon, 11 May 2015 05:43:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1431337401; l=981; s=domk; d=aepfle.de; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Subject:To:From:Date; bh=SjNWtGRVvhZkDMP2aimb7zjREOExPb/qWI/Oo2zw6qw=; b=OyeVnxy9heMe3gVEYS4Mn3GnCRDJHA+0w4DOmy83Y+fhnnglh92Lb28++yBCc1YTugp oPEakxQEC1jZ77E0swqmD5tlcwV4yjT86CuM3sB8kpyOpNVYEuGiejpKK+lrWM8DNOQho 7gXax3Aao/QnTEjUstLGLYRcdYunEZWx3z4= X-RZG-AUTH: :P2EQZWCpfu+qG7CngxMFH1J+yackYocTD1iAi8x+OWi/zfN1cLnBYfssVY1SE5ClEYfb5sQvxDNUdfk3GFAM3xrxaZN0YQ== X-RZG-CLASS-ID: mo00 Received: from probook.fritz.box ([2001:a60:10a3:eb01:1ec1:deff:feb9:bb48]) by smtp.strato.de (RZmta 37.5 AUTH) with ESMTPSA id R07351r4B9hLFRa (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve sect571r1 with 571 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Mon, 11 May 2015 11:43:21 +0200 (CEST) Received: by probook.fritz.box (Postfix, from userid 1000) id DDC0D502A7; Mon, 11 May 2015 11:43:20 +0200 (CEST) Date: Mon, 11 May 2015 11:43:20 +0200 From: Olaf Hering To: The development of GNU GRUB Subject: Re: [PATCH] Parse commandline in grub-xen Message-ID: <20150511094320.GB17438@aepfle.de> References: <1431336508-17290-1-git-send-email-olaf@aepfle.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.22.rev6346 (2013-10-29) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a01:238:20a:202:5300::12 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 May 2015 09:43:24 -0000 On Mon, May 11, Vladimir 'phcoder' Serbinenko wrote: > As said previously, allowing setting arbitrary variables from command line will > not be an accepted behavior. Also the code should be generic enough to allow > handling of other platforms if need be but surely without including any > unnecessary code for platforms that don't need it. Until there is an agreement > on how to handle the arguments, the only patch I would accept is to remove the > parser in ieee1275 code The function as is looks generic enough to be used by xen and ieee1275. Not sure why they went for ';' as separator, I'm sure the firmware does not require that. I dont have an EFI capable box around, someone familiar with that could make use of that function. I'm sure EFI has something like /chosen/bootargs. Futhermore what freedom would you like to hand out to those who implement the scripts? In my testing some variables such as root= and prefix= are overriden anyway. Olaf