From: "Jan Beulich" 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 16:56:02 +0000 Message-ID: <54C922B2020000780005A79A@mail.emea.novell.com> 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> <20150127142605.GA8814@l.oracle.com> <54C7C8110200007800059EE4@mail.emea.novell.com> <20150127182028.GB3678@x230.dumpdata.com> <54C8AE9C020000780005A31D@mail.emea.novell.com> <20150128160319.GB3923@l.oracle.com> <20150128161744.GB3473@olila.local.net-space.pl> 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 1YGVuP-0003aK-8N for xen-devel@lists.xenproject.org; Wed, 28 Jan 2015 16:56:05 +0000 In-Reply-To: <20150128161744.GB3473@olila.local.net-space.pl> 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: Daniel Kiper , Konrad Rzeszutek Wilk Cc: Andrew Cooper , xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 28.01.15 at 17:17, wrote: > On Wed, Jan 28, 2015 at 11:03:19AM -0500, Konrad Rzeszutek Wilk wrote: >> I am not really sure of what the work-around should be in Xen except >> making SetVirtualAddressMap work.. > > Hmmm... Crazy idea. IIRC, we use RS in 1:1 mapping. If we need to call > SetVirtualAddressMap() then force it to create 1:1 mapping. Is it > possible? Could you try it? I think you should play with code just > before SetVirtualAddressMap(). Of course this is possible. The reason we don't call the function is kexec: How would the secondary kernel be able to make runtime calls if we already established some mapping? Remember that SetVirtualAddressMap() may not be called more than once... Jan