ANDROID: Add GKI_HIDDEN_MM_CONFIGS to support ballooning.

Bug: 183227346
Signed-off-by: Michael Hoyle <mikehoyle@google.com>
Change-Id: I67ab3cd12ee5925a941af2509ec1eef1fac07b86
This commit is contained in:
Michael Hoyle
2021-03-19 12:57:48 -07:00
committed by Alistair Delva
parent d5992d56cc
commit e9fa24e154

View File

@@ -200,6 +200,14 @@ config GKI_HIDDEN_PHY_CONFIGS
Dummy config option used to enable the hidden PHY configs, Dummy config option used to enable the hidden PHY configs,
required by various SoC platforms. required by various SoC platforms.
config GKI_HIDDEN_MM_CONFIGS
bool "Hidden MM configuration needed for GKI"
select PAGE_REPORTING
select BALLOON_COMPACTION
select MEMORY_BALLOON
help
Dummy config option used to enable hidden MM configs,
currently required for VIRTIO_BALLOON
# Atrocities needed for # Atrocities needed for
# a) building GKI modules in separate tree, or # a) building GKI modules in separate tree, or
@@ -229,6 +237,7 @@ config GKI_HACKS_TO_FIX
select GKI_HIDDEN_HYPERVISOR_CONFIGS select GKI_HIDDEN_HYPERVISOR_CONFIGS
select GKI_HIDDEN_NET_CONFIGS select GKI_HIDDEN_NET_CONFIGS
select GKI_HIDDEN_PHY_CONFIGS select GKI_HIDDEN_PHY_CONFIGS
select GKI_HIDDEN_MM_CONFIGS
help help
Dummy config option used to enable core functionality used by Dummy config option used to enable core functionality used by
modules that may not be selectable in this config. modules that may not be selectable in this config.