Re: [Xen-devel] [PATCH RFC] EFI: allow retry of ExitBootServices() call

2014-11-17 Thread Jan Beulich
>>> On 17.11.14 at 14:49, wrote: > On Mon, Nov 17, 2014 at 01:35:17PM +, Jan Beulich wrote: >> >>> On 14.11.14 at 16:32, wrote: >> > On Fri, Nov 14, 2014 at 12:37:30PM +, Jan Beulich wrote: >> >> The specification is kind of vague under what conditions >> >> ExitBootServices() may legitim

Re: [Xen-devel] [PATCH RFC] EFI: allow retry of ExitBootServices() call

2014-11-17 Thread Konrad Rzeszutek Wilk
On Mon, Nov 17, 2014 at 01:35:17PM +, Jan Beulich wrote: > >>> On 14.11.14 at 16:32, wrote: > > On Fri, Nov 14, 2014 at 12:37:30PM +, Jan Beulich wrote: > >> The specification is kind of vague under what conditions > >> ExitBootServices() may legitimately fail, requiring the OS loader to >

Re: [Xen-devel] [PATCH RFC] EFI: allow retry of ExitBootServices() call

2014-11-17 Thread Jan Beulich
>>> On 14.11.14 at 16:32, wrote: > On Fri, Nov 14, 2014 at 12:37:30PM +, Jan Beulich wrote: >> The specification is kind of vague under what conditions >> ExitBootServices() may legitimately fail, requiring the OS loader to >> retry: >> >> "If MapKey value is incorrect, ExitBootServices() ret

Re: [Xen-devel] [PATCH RFC] EFI: allow retry of ExitBootServices() call

2014-11-14 Thread Roy Franz
On Fri, Nov 14, 2014 at 7:37 AM, Jan Beulich wrote: > The specification is kind of vague under what conditions > ExitBootServices() may legitimately fail, requiring the OS loader to > retry: > > "If MapKey value is incorrect, ExitBootServices() returns > EFI_INVALID_PARAMETER and GetMemoryMap() w

Re: [Xen-devel] [PATCH RFC] EFI: allow retry of ExitBootServices() call

2014-11-14 Thread Jan Beulich
>>> On 14.11.14 at 16:32, wrote: > On Fri, Nov 14, 2014 at 12:37:30PM +, Jan Beulich wrote: >> @@ -1051,17 +1051,23 @@ efi_start(EFI_HANDLE ImageHandle, EFI_SY >> if ( !efi_memmap ) >> blexit(L"Unable to allocate memory for EFI memory map"); >> >> -status = efi_bs->GetMemor

Re: [Xen-devel] [PATCH RFC] EFI: allow retry of ExitBootServices() call

2014-11-14 Thread Konrad Rzeszutek Wilk
On Fri, Nov 14, 2014 at 12:37:30PM +, Jan Beulich wrote: > The specification is kind of vague under what conditions > ExitBootServices() may legitimately fail, requiring the OS loader to > retry: > > "If MapKey value is incorrect, ExitBootServices() returns > EFI_INVALID_PARAMETER and GetMemo

[Xen-devel] [PATCH RFC] EFI: allow retry of ExitBootServices() call

2014-11-14 Thread Jan Beulich
The specification is kind of vague under what conditions ExitBootServices() may legitimately fail, requiring the OS loader to retry: "If MapKey value is incorrect, ExitBootServices() returns EFI_INVALID_PARAMETER and GetMemoryMap() with ExitBootServices() must be called again. Firmware implement