acrn-config: Kata VM is not supported on dual-core systems

KATA VM is not supported on dual-core systems override the
MAX_KATA_VM_NUM to 0.

Tracked-On: #4319
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
Wei Liu 2019-12-27 16:35:26 +08:00 committed by wenlingz
parent cef3322da8
commit 0427de5ec4

View File

@ -145,4 +145,9 @@ def generate_file(config):
print("CONFIG_HV_RAM_START={}".format(hex(hv_start_addr)), file=config)
print("CONFIG_HV_RAM_SIZE={}".format(hex(hv_ram_size)), file=config)
cpu_core_num = len(board_cfg_lib.get_processor_info())
if cpu_core_num == 2:
print("# KATA VM is not supported on dual-core systems", file=config)
print("CONFIG_MAX_KATA_VM_NUM=0", file=config)
return err_dic