From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Yrk8t-0000hA-AT for mharc-grub-devel@gnu.org; Mon, 11 May 2015 05:36:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yrk8q-0000cJ-B8 for grub-devel@gnu.org; Mon, 11 May 2015 05:36:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yrk8o-0003ou-8b for grub-devel@gnu.org; Mon, 11 May 2015 05:36:52 -0400 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::9]:39739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yrk8n-0003nZ-Uz for grub-devel@gnu.org; Mon, 11 May 2015 05:36:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1431337007; l=1271; s=domk; d=aepfle.de; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Subject:To:From:Date; bh=Lb91hXvKOgKVYDkVYsQP2N0GjsxCAqnxguuu6aQOSGk=; b=gfyLvtk6Qs0vX+FdfGE2VXe6fQMhtCx3Ys45+7edyrghtx9Bb5RYwvPSI+DaIp9YVBN ErhNn+NpNlyuRZesC0pTIZVugmKRJkEKlwxlQtvNJdhJTtTkRE9in6+bI+WTvwPGdOokL eHxsUT35GmjPMRoe1xrMTxxRb97ItABuDIQ= 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 f0503cr4B9al9ol (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:36:47 +0200 (CEST) Received: by probook.fritz.box (Postfix, from userid 1000) id 1DF16502A7; Mon, 11 May 2015 11:36:47 +0200 (CEST) Date: Mon, 11 May 2015 11:36:47 +0200 From: Olaf Hering To: The development of GNU GRUB Subject: Re: passing options to grub in xen,openfirmware and efi Message-ID: <20150511093646.GA17438@aepfle.de> References: <20150429164921.GA9393@aepfle.de> <554B7A74.7010404@gmail.com> <20150507145426.GA26929@aepfle.de> <554B7DBA.8060501@gmail.com> <554B830A.8040400@gmail.com> <20150508100958.GA13979@aepfle.de> <20150508111515.GA5612@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::9 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:36:53 -0000 On Fri, May 08, Andrei Borzenkov wrote: > On Fri, May 8, 2015 at 2:15 PM, Olaf Hering wrote: > > On Fri, May 08, Vladimir 'phcoder' Serbinenko wrote: > > > >> That's not the plan which is pushed by xen guys. They propose to make grub > >> stored on dom0 to just load grub from a predefined place in domU. This I.a. > >> allows easier upgrade of bootloader for distros as they don't have to worry > >> about dom0 having very old grub. > > Thats news, where was that proposed and discussed? > http://xenbits.xen.org/docs/unstable/misc/x86-xenpv-bootloader.html Where is that implemented anyway? I fail to find code for that in grub2 sources. But as noted elsewhere, this is within the guest. Nothing would load binaries from the suggested location. And there can be several disks, each containing the suggested layout. Its still up to the host admin to start a guest with a given kernel= and extra= from domU.cfg. But without changes such as <1431336508-17290-1-git-send-email-olaf@aepfle.de> it will be impossible for the host admin to load files from a specific disk (be it a disk or a cdrom). Imagine your PC without the BIOS provided boot menu behind F12 (or whereever), everything would need to go to the first disk. Olaf