[Xen-devel] [PATCH v2] efi: Reallocate memory map if ExitBootServices() fails

2015-05-29 Thread Ross Lagerwall
If calling ExitBootServices() fails, the memory map size may increase. Allocate an extra page the first time around so that we hopefully shouldn't have to reallocate the memory map. Allocate a new memory map if needed, although this only a fallback, because some arches may use boot services to

Re: [Xen-devel] [PATCH v2] efi: Reallocate memory map if ExitBootServices() fails

2015-05-29 Thread Jan Beulich
On 29.05.15 at 15:30, ross.lagerw...@citrix.com wrote: @@ -1053,14 +1053,23 @@ efi_start(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable) efi_arch_video_init(gop, info_size, mode_info); } -efi_bs-GetMemoryMap(efi_memmap_size, NULL, map_key, -