From 06092507433417cff8a0da25fbafeda9a47da301 Mon Sep 17 00:00:00 2001 From: Chenli Wei Date: Tue, 23 Aug 2022 01:29:56 +0800 Subject: [PATCH] misc: add assert to check the RTVM CPU affinity The current ACRN Configurator have no warning when the user set CPU zero to RTVM. This patch add an assert to check the above. Tracked-On: #6690 Signed-off-by: Chenli Wei Reviewed-by: Junjie Mao --- 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 f989f7035..5cfdfbac2 100644 --- a/misc/config_tools/schema/checks/cpu_assignment.xsd +++ b/misc/config_tools/schema/checks/cpu_assignment.xsd @@ -39,4 +39,11 @@ + + + The CPU 0 can't assign to RTVM {$vm/name/text()}. + + +