mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-17 14:58:43 +00:00
config-tools: fix the regular expression of ivshmem region name
The ivshmem region name format is not ristricted to start with "hv". Loosen the schema validation so that the region name can start with "hv" or "dm". Tracked-On: #6009 Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
This commit is contained in:
@@ -129,7 +129,7 @@ its size, and the VM IDs that can access it, such as ``hv:/shm_region_0, 2, 0:2`
|
||||
See :ref:`ivshmem-hv` for more information.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="|hv:/\w+,\s?\d+\s?,\s?\d\s?(:\s?\d\s?)+" />
|
||||
<xs:pattern value="|((hv)|(dm)):/\w+,\s?\d+\s?,\s?\d\s?(:\s?\d\s?)+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
|
Reference in New Issue
Block a user