From 581a336bc83fa6423c8eaa2d1a23b7140253d2b6 Mon Sep 17 00:00:00 2001 From: Sainath Grandhi Date: Tue, 17 Jul 2018 15:16:38 -0700 Subject: [PATCH] HV: Add Partitioning mode option for ACRN Adding Kconfig option to choose and compile partitioning mode for ACRN. Current implementation does not allow ACRN to support sharing mode and partitioning mode out of a single binary. Signed-off-by: Sainath Grandhi --- hypervisor/arch/x86/Kconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/hypervisor/arch/x86/Kconfig b/hypervisor/arch/x86/Kconfig index b30583eda..e07c75bea 100644 --- a/hypervisor/arch/x86/Kconfig +++ b/hypervisor/arch/x86/Kconfig @@ -11,6 +11,18 @@ config PLATFORM_SBL endchoice +choice + prompt "Hypervisor mode" + default SHARING_MODE + +config SHARING_MODE + bool "Sharing mode" + +config PARTITION_MODE + bool "Partition mode" + depends on PLATFORM_SBL +endchoice + config PLATFORM string default "uefi" if PLATFORM_UEFI