mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-30 01:02:22 +00:00
config_tools: disable cpu_affinity realtime vcpu column checkbox
disable cpu_affinity realtime vcpu column checkbox Tracked-On: #6691 Signed-off-by: Weiyi Feng <weiyix.feng@intel.com>
This commit is contained in:
parent
5b49af2435
commit
cc49e9ce4c
@ -29,7 +29,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</b-col>
|
</b-col>
|
||||||
<b-col class="p-3">
|
<b-col class="p-3">
|
||||||
<b-form-checkbox v-model="cpu.real_time_vcpu" :value="'y'" :uncheckedValue="'n'"/>
|
<b-form-checkbox v-model="cpu.real_time_vcpu" :value="'y'" :uncheckedValue="'n'" :disabled="!isRTVM"/>
|
||||||
</b-col>
|
</b-col>
|
||||||
<b-col>
|
<b-col>
|
||||||
<div class="ToolSet">
|
<div class="ToolSet">
|
||||||
@ -95,6 +95,9 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
isRTVM() {
|
||||||
|
return vueUtils.getPathVal(this.rootFormData, 'vm_type') === 'RTVM'
|
||||||
|
},
|
||||||
pcpuid_enum() {
|
pcpuid_enum() {
|
||||||
return window.getCurrentFormSchemaData().BasicConfigType.definitions.CPUAffinityConfiguration.properties.pcpu_id.enum
|
return window.getCurrentFormSchemaData().BasicConfigType.definitions.CPUAffinityConfiguration.properties.pcpu_id.enum
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user