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: Alistair Delva <adelva@google.com>
This commit is contained in:
Alistair Delva 2020-06-02 09:21:55 -07:00
parent fa4a4735f5
commit 2068976fd7

View file

@ -174,6 +174,14 @@ config GKI_HIDDEN_IRQ_CONFIGS
config, required by various SoC platforms. This is usually
selected by ARCH_*.
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
@ -200,6 +208,7 @@ config GKI_HACKS_TO_FIX
select GKI_HIDDEN_RPMSG_CONFIGS
select GKI_HIDDEN_GPU_CONFIGS
select GKI_HIDDEN_IRQ_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.