config tool: refine cpu_affinity

remove default setting and refine statement.

Tracked-On: #7674
Signed-off-by: hangliu1 <hang1.liu@linux.intel.com>
This commit is contained in:
hangliu1 2022-06-03 20:19:14 +08:00 committed by acrnsi-robot
parent 145129cad0
commit b2a04fc23a
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@
L{{ CACHE_ALLOCATION.level }} Cache Allocation Technology {{
cat_level_region_sum[CACHE_ALLOCATION.level].count > 1 ? ' Module ' + cat_level_region_sum[CACHE_ALLOCATION.level][CACHE_ALLOCATION.id] : ''
}}
(pCPU : {{ Math.min(...CACHE_ALLOCATION.processors) }}~{{ Math.max(...CACHE_ALLOCATION.processors) }})
(requires CPU affinity to cores {{ Math.min(...CACHE_ALLOCATION.processors) }}~{{ Math.max(...CACHE_ALLOCATION.processors) }} in each desired VM)
</text>
<b-button @click="setDefaultClosMask(CACHE_ALLOCATION)">
Apply basic real-time defaults

View File

@ -44,7 +44,7 @@
<xs:complexType name="CPUAffinityConfiguration">
<xs:all>
<xs:element name="pcpu_id" type="xs:integer" default="2">
<xs:element name="pcpu_id" type="xs:integer">
<xs:annotation acrn:title="pCPU ID"
acrn:options="//processors//thread/cpu_id/text()" acrn:options-sorted-by="int">
<xs:documentation>ID of the pCPU that this VM's vCPU is allowed to pin to.</xs:documentation>