mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-19 20:22:46 +00:00
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:
parent
08680669ca
commit
4e3a25ad6d
@ -69,7 +69,7 @@
|
|||||||
L{{ CACHE_ALLOCATION.level }} Cache Allocation Technology {{
|
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] : ''
|
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>
|
</text>
|
||||||
<b-button @click="setDefaultClosMask(CACHE_ALLOCATION)">
|
<b-button @click="setDefaultClosMask(CACHE_ALLOCATION)">
|
||||||
Apply basic real-time defaults
|
Apply basic real-time defaults
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
<xs:complexType name="CPUAffinityConfiguration">
|
<xs:complexType name="CPUAffinityConfiguration">
|
||||||
<xs:all>
|
<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"
|
<xs:annotation acrn:title="pCPU ID"
|
||||||
acrn:options="//processors//thread/cpu_id/text()" acrn:options-sorted-by="int">
|
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>
|
<xs:documentation>ID of the pCPU that this VM's vCPU is allowed to pin to.</xs:documentation>
|
||||||
|
Loading…
Reference in New Issue
Block a user