From: "Jan Beulich" Subject: Re: [PATCH v1 1/3] EFI/early: Add /noexit to inhibit calling ExitBootServices Date: Wed, 29 Apr 2015 13:37:15 +0100 Message-ID: <5540DE8B02000078000CE059@mail.emea.novell.com> References: <1429908440-13923-1-git-send-email-konrad.wilk@oracle.com> <1429908440-13923-2-git-send-email-konrad.wilk@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YnREu-0007jT-F4 for xen-devel@lists.xenproject.org; Wed, 29 Apr 2015 12:37:20 +0000 In-Reply-To: <1429908440-13923-2-git-send-email-konrad.wilk@oracle.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: konrad@kernel.org Cc: andrew.cooper3@citrix.com, olaf@aepfle.de, xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org >>> Konrad Rzeszutek Wilk 04/24/15 10:47 PM >>> >The '/noexit' parameter will inhibit Xen in calling ExitBootServices. > >That helps with some platforms with GetNextVariableName which >cannot deal running in 1-1 mode and having BootSevices being disabled. It's unfortunate that this is the first rather than the last patch in the series, as this is the one I'm not really comfortable applying - remaining in boot services is certainly not a good thing to do, even less so with nevertheless handing all boot services code/ data to the allocator. >@@ -762,6 +764,7 @@ efi_start(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable) >{ >PrintStr(L"Xen EFI Loader options:\r\n"); >PrintStr(L"-basevideo retain current video mode\r\n"); >+ PrintStr(L"-noexit Do not call ExitBootServices\r\n"); >PrintStr(L"-cfg= specify configuration file\r\n"); >PrintStr(L"-help, -? display this help\r\n"); And independent of that please note that all existing option descriptions start with a lower case letter. Jan