From 4e2abfb47301b8e4fdf4c97d9424a5bcd473220d Mon Sep 17 00:00:00 2001 From: Calvin Zhang Date: Fri, 20 May 2022 13:11:40 +0800 Subject: [PATCH] misc: configurator: add check for uniqueness of cpus in Pre-launched VM CPUs assigned to Pre-launched VM can not be shared. Add a xsd rule to check it. Tracked-On: #7526 Signed-off-by: Calvin Zhang --- misc/config_tools/schema/checks/cpu_assignment.xsd | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/misc/config_tools/schema/checks/cpu_assignment.xsd b/misc/config_tools/schema/checks/cpu_assignment.xsd index 7fedc8ecf..430aeaac8 100644 --- a/misc/config_tools/schema/checks/cpu_assignment.xsd +++ b/misc/config_tools/schema/checks/cpu_assignment.xsd @@ -18,6 +18,13 @@ + + + Physical CPU {$pcpu} is assigned to Pre-launched VM "{$pcpu/ancestor::vm/name}" and thus cannot be shared among multiple VMs. Look for, and probably remove, any affinity assignments to {$pcpu} in this VM's settings: {//vm[cpu_affinity//pcpu_id = $pcpu]/name}. + + +