From: Daniel Kiper Subject: Re: Is: kexec & EFI Was: Re: EFI GetNextVariableName crashes when running under Xen, but not under Linux. efi-rs=0 works. No memmap issues Date: Fri, 30 Jan 2015 16:09:55 +0100 Message-ID: <20150130150955.GA29167@olila.local.net-space.pl> References: <54C8AE9C020000780005A31D@mail.emea.novell.com> <20150128160319.GB3923@l.oracle.com> <20150128161744.GB3473@olila.local.net-space.pl> <54C922B2020000780005A79A@mail.emea.novell.com> <20150128172045.GB7189@l.oracle.com> <54CA1AEC020000780005AAD0@mail.emea.novell.com> <20150130141727.GC4506@l.oracle.com> <54CB97EE.1050702@citrix.com> <20150130145200.GA6221@l.oracle.com> <54CB9BDC.9090102@citrix.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 1YHDD8-0006Ju-RX for xen-devel@lists.xenproject.org; Fri, 30 Jan 2015 15:10:18 +0000 Content-Disposition: inline In-Reply-To: <54CB9BDC.9090102@citrix.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: David Vrabel Cc: Andrew Cooper , xen-devel , Jan Beulich List-Id: xen-devel@lists.xenproject.org On Fri, Jan 30, 2015 at 02:57:32PM +0000, David Vrabel wrote: > On 30/01/15 14:52, Konrad Rzeszutek Wilk wrote: > > On Fri, Jan 30, 2015 at 02:40:46PM +0000, David Vrabel wrote: > >> On 30/01/15 14:17, Konrad Rzeszutek Wilk wrote: > >>> > >>> kexec is OS agnostic? > >> > >> Yes. > >> > >> Extra information to be passed to (e.g., a Linux kernel being kexec'd) > >> can be supplied in an additional segment and marshalled into a suitable > >> format/location for the exec'd kernel by purgatory (or similar). > >> > >> There shouldn't be a need to extend the hypervisor ABI for this. > > > > How are you planning to make kexec work under EFI? > > I don't know at this time. I suppose that we should provide additional kexec hypercall function which will return info about RS. kexec-tools should load new kernel as usual and add relevant argument to its command line. Most things are in place so we should just learn kexec-tools to do new things. Daniel