From 44f0c327353504fba047dda8ae2020646eb87aed Mon Sep 17 00:00:00 2001 From: Junjie Mao Date: Thu, 10 Mar 2022 17:34:46 +0800 Subject: [PATCH] config_tools: change MMIOResourcesConfiguration to xs:all The "MMIO resources" section of a VM definition may contain different nodes depending on the VM load order, but the schema slicer cannot convert the complex type specifying this section because the schema requires those nodes to be a strictly-ordered sequence (by xs:sequence), not a set (by xs:all). As there is no requirement on this strict ordering, this patch converts that complex type to be an unordered set instead. Tracked-On: #6690 Signed-off-by: Junjie Mao --- misc/config_tools/schema/VMtypes.xsd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/config_tools/schema/VMtypes.xsd b/misc/config_tools/schema/VMtypes.xsd index 93d858ad8..94335e3e7 100644 --- a/misc/config_tools/schema/VMtypes.xsd +++ b/misc/config_tools/schema/VMtypes.xsd @@ -205,7 +205,7 @@ CLOSID 0 and the second is mapped to virtual CLOSID 1, etc. - + Passthrough the Trusted Platform Module (TPM2) device to this VM. (Optional) (Default value is n) @@ -216,7 +216,7 @@ CLOSID 0 and the second is mapped to virtual CLOSID 1, etc. Passthrough the P2SB (Primary-to-Sideband) bridge register access BAR to the this VM. (Optional) (Default value is n) - +