From a3922797aff9015125abbca93554ff5e3dd6961b Mon Sep 17 00:00:00 2001 From: Conghui Chen Date: Fri, 26 Apr 2019 06:46:24 +0800 Subject: [PATCH] HV: cleanup SHARING_MODE and PARTITION_MODE As SHARING_MODE and PARTITION_MODE are not used anymore, cleanup the code. Tracked-On: #2291 Signed-off-by: Conghui Chen Acked-by: Eddie Dong --- hypervisor/arch/x86/Kconfig | 22 ---------------------- hypervisor/arch/x86/configs/dnv-cb2.config | 1 - 2 files changed, 23 deletions(-) diff --git a/hypervisor/arch/x86/Kconfig b/hypervisor/arch/x86/Kconfig index e5b808f8a..5f3aaad7b 100644 --- a/hypervisor/arch/x86/Kconfig +++ b/hypervisor/arch/x86/Kconfig @@ -17,28 +17,6 @@ config LOGICAL_PARTITION endchoice -choice - prompt "Hypervisor mode" - default SHARING_MODE - help - Select the usage mode of the hypervisor. - -config SHARING_MODE - bool "Sharing mode" - help - In sharing mode, the first VM (called Service OS or SOS) is capable of - managing the other VMs (called User OS or UOS) and trap/mediate their - I/O accesses to physical devices. - -config PARTITION_MODE - bool "Partition mode" - help - In partition mode, every VM owns part of the physical resources - exclusively and runs with minimal interference from the others. The VM - configurations are statically defined in the source. - -endchoice - config BOARD string "Target board" help diff --git a/hypervisor/arch/x86/configs/dnv-cb2.config b/hypervisor/arch/x86/configs/dnv-cb2.config index 0b6e37579..fbefa0001 100644 --- a/hypervisor/arch/x86/configs/dnv-cb2.config +++ b/hypervisor/arch/x86/configs/dnv-cb2.config @@ -1,5 +1,4 @@ # Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) -CONFIG_PARTITION_MODE=y CONFIG_BOARD="dnv-cb2" CONFIG_SERIAL_LEGACY=y CONFIG_SERIAL_PIO_BASE=0x1000