From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vr9oH-0004hX-CT for mharc-grub-devel@gnu.org; Thu, 12 Dec 2013 12:12:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vr9o7-0004W3-GJ for grub-devel@gnu.org; Thu, 12 Dec 2013 12:12:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vr9ny-00045J-Ub for grub-devel@gnu.org; Thu, 12 Dec 2013 12:12:15 -0500 Received: from mail-la0-x22f.google.com ([2a00:1450:4010:c03::22f]:51896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vr9ny-00044f-Gu for grub-devel@gnu.org; Thu, 12 Dec 2013 12:12:06 -0500 Received: by mail-la0-f47.google.com with SMTP id ep20so542335lab.34 for ; Thu, 12 Dec 2013 09:12:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=iXIg37SO11s7Q+zzdNTxb3YtNYSG18KGcu3/ZcTVIc0=; b=xoeSM0UOiXCgEsxHTzrmEwF7sk0n5I0LBilD2VE63+jcBDY7xtP4HKSt8yyHNbz5fU pM0cBhSQGZypp7A78sviUpahKKt8E6+pY8MX3o8us6p+WnLFx0hBm8Ep1UPZCY9ehVMB uwS77P23vJnm+fL761tGU5HTOeK7GaUqlY/7HjFBlNIRbZ7U2wtrBWav+VOz2zxG/OOL /OHsufK+rN6pvmV7io/SQ1tDwuFSs5jTwIsNtZOcbWMQZWuJwfPrysPM4+blI+zvEzpD oUWOzV0smna985VUSZJkKapURis01zwD3M3GxLani9G0r1C9rZQ1FYA+zlouBzN+iLLK c1yQ== X-Received: by 10.152.22.228 with SMTP id h4mr221811laf.71.1386868325460; Thu, 12 Dec 2013 09:12:05 -0800 (PST) Received: from opensuse.site (ppp91-76-134-134.pppoe.mtu-net.ru. [91.76.134.134]) by mx.google.com with ESMTPSA id ld10sm36011095lab.8.2013.12.12.09.12.03 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Thu, 12 Dec 2013 09:12:04 -0800 (PST) Date: Thu, 12 Dec 2013 21:12:03 +0400 From: Andrey Borzenkov To: grub-devel@gnu.org Subject: Re: [PATCH 2/4] Accept environment variables on the command line for Xen. Message-ID: <20131212211203.6231e256@opensuse.site> In-Reply-To: References: <20131212153643.GA1431@riva.ucam.org> <20131212153722.GC1431@riva.ucam.org> <20131212194805.5d81a2e7@opensuse.site> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.22; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22f 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: Thu, 12 Dec 2013 17:12:24 -0000 В Thu, 12 Dec 2013 17:13:13 +0100 "Vladimir 'phcoder' Serbinenko" пишет: > - Many platforms add their own command line arguments even if user didn't > ask for it. Those shouldn't interfere. In your patch root=sda1 from xen > will either be lost or will clobber GRUB root. My be we could adopt current Linux convention and prefix variables for GRUB with grub.foo=xxx (stripping "grub." prefix). I do not know whether it could have compatibility implications for current code though. The reasoning is, it would allow overwriting variables very early without need for scripting that is available only after normal is loaded.