mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-14 06:16:38 +00:00
config_tool: validate vm_num must <= MAX_VM_NUM
validate vm_num must <= MAX_VM_NUM Tracked-On: #6724 Signed-off-by: Weiyi Feng <weiyix.feng@intel.com>
This commit is contained in:
parent
1c94861156
commit
6db72de473
@ -492,6 +492,12 @@ to launch post-launched User VMs.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:assert>
|
||||
|
||||
<xs:assert test="count(//vm) <= //MAX_VM_NUM">
|
||||
<xs:annotation>
|
||||
<xs:documentation>The number of VMs in the scenario XML file should be no greater than hv.CAPACITIES.MAX_VM_NUM.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:assert>
|
||||
|
||||
<xs:assert test="if (count(//guest_flag[text() = 'GUEST_FLAG_VCAT_ENABLED']) > 0)
|
||||
then //RDT_ENABLED = 'y' and //VCAT_ENABLED = 'y'
|
||||
else true()">
|
||||
|
Loading…
Reference in New Issue
Block a user