From: Daniel Kiper Subject: Re: EFI GetNextVariableName crashes when running under Xen, but not under Linux. efi-rs=0 works. No memmap issues Date: Wed, 28 Jan 2015 13:57:03 +0100 Message-ID: <20150128125703.GA3473@olila.local.net-space.pl> References: <20150126162753.GA1812@l.oracle.com> <54C680C90200007800059907@mail.emea.novell.com> <20150127000247.GU3473@olila.local.net-space.pl> <54C6DCB7.3060206@citrix.com> <54C752460200007800059B8B@mail.emea.novell.com> <20150127201858.GY3473@olila.local.net-space.pl> <54C8AF37020000780005A330@mail.emea.novell.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 1YGSBI-0003PQ-Eq for xen-devel@lists.xenproject.org; Wed, 28 Jan 2015 12:57:16 +0000 Content-Disposition: inline In-Reply-To: <54C8AF37020000780005A330@mail.emea.novell.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: Jan Beulich Cc: Andrew Cooper , xen-devel List-Id: xen-devel@lists.xenproject.org On Wed, Jan 28, 2015 at 08:43:19AM +0000, Jan Beulich wrote: > >>> On 27.01.15 at 21:18, wrote: > > On Tue, Jan 27, 2015 at 07:54:30AM +0000, Jan Beulich wrote: > >> Plus the issue here is not just a matter of mapping BS memory, but > >> also not making it available to the allocator. That in turn may yield > > > > Yep, however, I thought that if a memory region is reserved in E820 > > then it is also automatically removed from allocator pool. > > That's correct. > > >> conversion happens _before_ the normal command line parsing. > > > > I am going to align EFI early command line parser to legacy > > BIOS early boot path parser (I think about vga command line > > option). So, I think that this EFI "bug" work could be based > > on it. > > The vga option is completely meaningless under EFI. And any such Yep, I know that we have GOP there. I meant that user should have a chance to choose arbitrary mode like in case of VGA. Currently, he or she could only rely on automatic mode detection or just disable this mechanism. So, I think we should implement vga option (or rename it to gop) as is (maybe with some minor changes) in early EFI code. > workaround implementation would ideally be done in a backportable > way, i.e. without depending on a huge pile of other changes. We add more and more early options, so, maybe we could workout something generic, easily reusable in other cases. Daniel