HomeFreeBSD

xen/boot: allow specifying boot method when booted from Xen

Description

xen/boot: allow specifying boot method when booted from Xen

Allow setting the bootmethod variable from the Xen PVH entry point, in
order to be able to correctly set the underlying firmware mode when
booted as a dom0.

Move the bootmethod variable to be defined in x86/cpu_machdep.c
instead so it can be shared by both i386 and amd64.

Sponsored by: Citrix Systems R&D
Reviewed by: kib
Differential revision: https://reviews.freebsd.org/D28619

Details

Provenance
roygerAuthored on Feb 8 2021, 10:28 AM
Reviewer
kib
Differential Revision
D28619: xen/boot: allow specifying boot method when booted from Xen
Parents
rGadda2797eb2a: stand/multiboot2: add support for booting a Xen dom0 in UEFI mode
Branches
Unknown
Tags
Unknown