HV: modularization vm config code

- move sanitize_vm_config() from vm.c to vm_config.c;

- move get_vm_config() from vm.h to vm_config.h;

Tracked-On: #2291

Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Victor Sun
2019-02-28 14:20:34 +08:00
committed by wenlingz
parent 35dfadc98e
commit 1bb15c64a6
5 changed files with 142 additions and 133 deletions

View File

@@ -132,6 +132,7 @@ C_SRCS += boot/reloc.c
C_SRCS += arch/x86/init.c
# configuration component
C_SRCS += arch/x86/configs/vm_config.c
ifeq ($(CONFIG_SHARING_MODE),y)
C_SRCS += arch/x86/configs/sharing_config.c
else ifeq ($(CONFIG_PARTITION_MODE),y)