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:
Yang,Yu-chu 2021-05-12 12:27:31 -07:00 committed by wenlingz
parent 30febed0e1
commit 1bdaca86e1
1 changed files with 1 additions and 1 deletions

View File

@ -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>