mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-22 21:47:22 +00:00
config_tools: remove invaild hugepage check
Currently, on the whl-ipc-i5 platform, we found a warning message when building ACRN with the shared scenario XML file from github. However, this doesn't affect any feature of ACRN according to the QA's test result. So this patch removes this check in order not to confuse users at the first. If necessary, we will add back the check after getting more detail. v1-->v2 degrade the log level to debug. Tracked-On: #7926 Signed-off-by: Kunhui-Li <kunhuix.li@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
parent
da44d6337a
commit
e83bea0882
@ -172,7 +172,7 @@ def allocate_hugepages(board_etree, scenario_etree, allocation_etree):
|
||||
|
||||
post_vms_memory = sum(int(i) for i in scenario_etree.xpath("//vm[load_order = 'POST_LAUNCHED_VM']/memory/size/text()")) / 1024
|
||||
if total_hugepages - post_vms_memory < 0:
|
||||
logging.warning(f"The sum {post_vms_memory} of memory configured in post launch VMs should not be larger than " \
|
||||
logging.debug(f"The sum {post_vms_memory} of memory configured in post launch VMs should not be larger than " \
|
||||
f"the calculated total hugepages {total_hugepages} of service VMs. Please update the configuration in post launch VMs")
|
||||
|
||||
allocation_service_vm_node = common.get_node("/acrn-config/vm[load_order = 'SERVICE_VM']", allocation_etree)
|
||||
|
Loading…
Reference in New Issue
Block a user