hv: add Kconfig parameter to define the Service VM EFI bootloader

Add a Kconfig parameter called UEFI_OS_LOADER_NAME to hold the Service VM EFI
bootloader to be run by the ACRN hypervisor. A new string manipulation function
to convert from (char *) to (CHAR16 *) has been added to facilitate the
implementation.

The default value is set to systemd-boot (bootloaderx64.efi)

Tracked-On: #2793
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
This commit is contained in:
Geoffroy Van Cutsem
2019-11-07 09:02:02 +01:00
committed by wenlingz
parent 058b03c3a7
commit 51a43dab79
3 changed files with 24 additions and 2 deletions

View File

@@ -296,3 +296,11 @@ config MAX_KATA_VM_NUM
int "Maximum number of Kata Containers in SOS"
range 0 1
default 0
config UEFI_OS_LOADER_NAME
string "UEFI OS loader name"
default "\\EFI\\org.clearlinux\\bootloaderx64.efi"
help
Name of the UEFI bootloader that starts the Service VM. This is
typically the systemd-boot or Grub bootloader but could be any other
UEFI executable.