Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a74880d6 authored by Siddharth Gupta's avatar Siddharth Gupta
Browse files

ANDROID: GKI: Enable SYS_HYPERVISOR



Used by some Linux hypervisor support to tell userspace which hypervisor
it is being run under.

Bug: 157224726
Change-Id: Ia1cb56e665af6b60f6a51b5e81dd7abed240f812
Signed-off-by: default avatarAlistair Delva <adelva@google.com>
Git-repo: https://android.googlesource.com/kernel/common/


Git-commit: f8aa5f514ccb2ded066fe47f6fd571fe016ca648
Signed-off-by: default avatarSiddharth Gupta <sidgup@codeaurora.org>
parent 24ed5bd0
Loading
Loading
Loading
Loading
+10298 −10433

File changed.

Preview size limit exceeded, changes collapsed.

+9 −0
Original line number Diff line number Diff line
@@ -156,6 +156,14 @@ config GKI_HIDDEN_RPMSG_CONFIGS
	  If you are not building a kernel to be used for a variety of
	  out-of-kernel build RPMSG drivers, say N here.

config GKI_HIDDEN_HYPERVISOR_CONFIGS
	bool "Hidden hypervisor configuration needed for GKI"
	select SYS_HYPERVISOR
	help
	  Dummy config option used to enable the SYS_HYPERVISOR hidden
	  config, required by various SoC platforms. This is usually
	  selected by XEN or S390.

# Atrocities needed for
# a) building GKI modules in separate tree, or
# b) building drivers that are not modularizable
@@ -180,6 +188,7 @@ config GKI_HACKS_TO_FIX
	select GKI_HIDDEN_USB_CONFIGS
	select GKI_HIDDEN_SOC_BUS_CONFIGS
	select GKI_HIDDEN_RPMSG_CONFIGS
	select GKI_HIDDEN_HYPERVISOR_CONFIGS
	help
	  Dummy config option used to enable core functionality used by
	  modules that may not be selectable in this config.