projectacrn / acrn-hypervisor

Project ACRN hypervisor
BSD 3-Clause "New" or "Revised" License
1.13k stars 516 forks source link

make failed when count(vm) == hv/CAPACITIES/MAX_VM_NUM #6907

Closed Weiyi-Feng closed 2 years ago

Weiyi-Feng commented 2 years ago

Describe the bug Project make failed when VM_NUM == hv/CAPACITIES/MAX_VM_NUM .

Codebase release_2.7

Scenario Shared.

To Reproduce Steps to reproduce the behavior: 1:generate scenario xml with 7RTVMs via config tool UI 2: build HV with cmd "make BOARD=xxx SCENARIO=shared"

Additional context error log:

Generating vm_configurations.c:
runtime error: file /app/tests/acrn-hypervisor/misc/config_tools/xforms/lib.xsl line 113 element text
xsltApplySequenceConstructor: A potential infinite template recursion was detected.
You can adjust xsltMaxDepth (--maxdepth) in order to raise the maximum number of nested template call
Templates:
#0 name config-data/acrn-config
#1 name /acrn-offline-data
Variables:
#0
param end
param cur
#1
param cur
#2
param end
param cur
#3
param cur
#4
param end
param cur
#5
param cur
#6
param end
param cur
#7
param cur
#8
param end
param cur
#9
param cur
#10
param end
param cur
#11
param cur
#12
param end
param cur
#13
param cur
#14
param end
param cur
error: file /app/tests/acrn-hypervisor/build/hypervisor/configs/unified.xml
xsltRunStylesheet : run failed
Failed to generate vm_configurations.c with xsltproc!
NanlinXie commented 2 years ago

[External_System_ID] ACRN-7511