From 8e7b80fcb2d69811d8113fe0e044e2ee91b94d1c Mon Sep 17 00:00:00 2001 From: Sainath Grandhi Date: Tue, 31 Mar 2020 13:09:41 -0700 Subject: [PATCH] acrn-config: Limit check on Pre-Launched VM RAM size size and size_hpa2 can be greater than 2GB for Pre-Launched VMs. Tracked-On: #4565 Signed-off-by: Sainath Grandhi --- misc/acrn-config/library/scenario_cfg_lib.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/misc/acrn-config/library/scenario_cfg_lib.py b/misc/acrn-config/library/scenario_cfg_lib.py index bc181ad35..d15856a04 100644 --- a/misc/acrn-config/library/scenario_cfg_lib.py +++ b/misc/acrn-config/library/scenario_cfg_lib.py @@ -448,11 +448,8 @@ def mem_size_check(id_hpa_size_dic, prime_item, item): if hpa_sz_strip_ul not in common.START_HPA_SIZE_LIST and hpa_sz_strip_u not in \ common.START_HPA_SIZE_LIST: key = "vm:id={},{},{}".format(id_key, prime_item, item) - mem_max = 2 * 1024 * 1024 * 1024 if '0x' not in hpa_size and '0X' not in hpa_size: ERR_LIST[key] = "Mem size should be Hex format" - elif int(hpa_sz_strip_ul, 16) > mem_max or int(hpa_sz_strip_u, 16) > mem_max: - ERR_LIST[key] = "Mem size should less than 2GB" def os_kern_name_check(id_kern_name_dic, prime_item, item):