mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-24 06:29:19 +00:00
acrn-config: Enable pre-launch VM sharing CPU with other VMs
CPU sharing between pre-launch VMs and SOS, post-launch VMs were forbidden. Remove the limitation. Tracked-On: #5153 Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> Acked-by: Terry Zou <terry.zou@intel.com>
This commit is contained in:
parent
a32074cda1
commit
62287cdb48
@ -309,9 +309,6 @@ def vm_cpu_affinity_check(config_file, id_cpus_per_vm_dic, item):
|
||||
if pre_launch_cpus.count(pcpu) >= 2:
|
||||
key = "Pre launched VM cpu_affinity"
|
||||
err_dic[key] = "Pre_launched_vm vm should not have the same cpus assignment"
|
||||
if pcpu in post_launch_cpus:
|
||||
key = "Pre launched vm and Post launchded VM cpu_affinity"
|
||||
err_dic[key] = "Pre launched_vm and Post launched vm should not have the same cpus assignment"
|
||||
|
||||
return err_dic
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user