Skip to content

Commit 581a336

Browse files
Sainath Grandhilijinxia
authored andcommitted
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 <sainath.grandhi@intel.com>
1 parent 93ed037 commit 581a336

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

hypervisor/arch/x86/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@ config PLATFORM_SBL
1111

1212
endchoice
1313

14+
choice
15+
prompt "Hypervisor mode"
16+
default SHARING_MODE
17+
18+
config SHARING_MODE
19+
bool "Sharing mode"
20+
21+
config PARTITION_MODE
22+
bool "Partition mode"
23+
depends on PLATFORM_SBL
24+
endchoice
25+
1426
config PLATFORM
1527
string
1628
default "uefi" if PLATFORM_UEFI

0 commit comments

Comments
 (0)