Skip to content
Commit d85e3e34 authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

efi: xen: Set EFI_PARAVIRT for Xen dom0 boot on all architectures



Currently, the EFI_PARAVIRT flag is only used by Xen dom0 boot on x86,
even though other architectures also support pseudo-EFI boot, where the
core kernel is invoked directly and provided with a set of data tables
that resemble the ones constructed by the EFI stub, which never actually
runs in that case.

Let's fix this inconsistency, and always set this flag when booting dom0
via the EFI boot path. Note that Xen on x86 does not provide the EFI
memory map in this case, whereas other architectures do, so move the
associated EFI_PARAVIRT check into the x86 platform code.

Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent fdc6d38d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment