mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-06 08:04:55 +00:00
config-tools: validate the scenario against schema
Try validate the scenario xml against schema if the config.xsd exsists. Fix the regular expression pattern of IVSHMEM_REGION string validation. Tracked-On: #5672 Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
This commit is contained in:
@@ -132,7 +132,7 @@ Read more about the available scheduling options in :ref:`cpu_sharing`.</xs:docu
|
||||
|
||||
<xs:simpleType name="IVSHMEMRegionPattern">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="hv:/\w+,\s?\d,\s?\s?\d:\s?\d\s?" />
|
||||
<xs:pattern value="hv:/\w+,\s?\d+\s?,\s?\d\s?:\s?\d\s?" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user