mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-03 22:17:03 +00:00
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:
parent
cef3322da8
commit
0427de5ec4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user