mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-12-16 01:42:39 +00:00
config tool: Fix service vm cpu affinity issue
default value of minOccurs is "1", which will trigger problem when user leave pcpu_id blank while preserve cpu_affinity in service VM. Tracked-On: #7267 Signed-off-by: hangliu1 <hang1.liu@linux.intel.com>
This commit is contained in:
@@ -13,7 +13,7 @@ def sos_cpu_affinity(etree):
|
||||
if common.get_node("//vm[load_order = 'SERVICE_VM']", etree) is None:
|
||||
return None
|
||||
|
||||
if common.get_node("//vm[load_order = 'SERVICE_VM' and count(cpu_affinity)]", etree) is not None:
|
||||
if common.get_node("//vm[load_order = 'SERVICE_VM' and count(cpu_affinity/pcpu_id)]", etree) is not None:
|
||||
return None
|
||||
|
||||
sos_extend_all_cpus = board_cfg_lib.get_processor_info()
|
||||
|
||||
Reference in New Issue
Block a user