mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-23 05:57:33 +00:00
config tool: Fix combined cpu_affinity warning
Service vm could have the combination of big and little core cpu_affinity setting, fix the assert. Tracked-On: #7270 Signed-off-by: hangliu1 <hang1.liu@linux.intel.com>
This commit is contained in:
parent
e347320787
commit
7bf96c5a97
@ -25,7 +25,7 @@
|
|||||||
</xs:annotation>
|
</xs:annotation>
|
||||||
</xs:assert>
|
</xs:assert>
|
||||||
|
|
||||||
<xs:assert test="every $vm in vm satisfies
|
<xs:assert test="every $vm in /acrn-config/vm[load_order != 'SERVICE_VM'] satisfies
|
||||||
count(distinct-values(processors//thread[cpu_id = $vm//cpu_affinity/pcpu_id]/core_type)) <= 1">
|
count(distinct-values(processors//thread[cpu_id = $vm//cpu_affinity/pcpu_id]/core_type)) <= 1">
|
||||||
<xs:annotation acrn:severity="error" acrn:report-on="$vm//cpu_affinity">
|
<xs:annotation acrn:severity="error" acrn:report-on="$vm//cpu_affinity">
|
||||||
<xs:documentation>The physical CPUs allocated to the VM "{$vm/name}" have both performance cores {processors//thread[cpu_id = $vm//cpu_affinity/pcpu_id and core_type = 'Core']/cpu_id} and efficient cores {processors//thread[cpu_id = $vm//cpu_affinity/pcpu_id and core_type = 'Atom']/cpu_id}, which is unsupported. Remove either all performance or all efficient cores from the CPU affinity.</xs:documentation>
|
<xs:documentation>The physical CPUs allocated to the VM "{$vm/name}" have both performance cores {processors//thread[cpu_id = $vm//cpu_affinity/pcpu_id and core_type = 'Core']/cpu_id} and efficient cores {processors//thread[cpu_id = $vm//cpu_affinity/pcpu_id and core_type = 'Atom']/cpu_id}, which is unsupported. Remove either all performance or all efficient cores from the CPU affinity.</xs:documentation>
|
||||||
|
Loading…
Reference in New Issue
Block a user