From 9a3028d1c390727cecb794fb0b3510d038cb841b Mon Sep 17 00:00:00 2001 From: Shuo A Liu Date: Fri, 7 Aug 2020 14:06:05 +0800 Subject: [PATCH] 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 --- misc/acrn-config/library/scenario_cfg_lib.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/misc/acrn-config/library/scenario_cfg_lib.py b/misc/acrn-config/library/scenario_cfg_lib.py index 45e4b50a1..fc7dadda3 100644 --- a/misc/acrn-config/library/scenario_cfg_lib.py +++ b/misc/acrn-config/library/scenario_cfg_lib.py @@ -273,9 +273,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