Re: [PATCH v6 2/9] arch/x86: Do not access EFI memory map if it is not available

Jan Beulich
2014-06-23T11:00:12Z

>>> On 23.06.14 at 11:53, <david.vrabel@citrix.com> wrote:
> On 20/06/14 22:29, Daniel Kiper wrote:
>> Do not access EFI memory map if it is not available. At least
>> Xen dom0 EFI implementation does not have an access to it.
>
> Could it make one based on the XENMEM_memory_map or
> XENMEM_machine_memory_map hypercall?

No, the correct operation to implement this and efi_mem_type()
similar function is XEN_FW_EFI_INFO, index XEN_FW_EFI_MEM_INFO.

Jan