config_tools: fix vBDF schema pattern issue

add escape charater to fix vBDF pattern match any character issue
for vUART and ivshmem.

Tracked-On: #7925
Signed-off-by: Kunhui-Li <kunhuix.li@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
Kunhui-Li 2022-08-05 10:51:03 +08:00 committed by acrnsi-robot
parent 3f0eb96d85
commit b5097ee3e3

View File

@ -182,7 +182,7 @@ Read more about the available scheduling options in :ref:`cpu_sharing`.</xs:docu
<xs:documentation>A string with up to two hex digits, a ``:``, two hex digits, a ``.``, and one digit between 0-7.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="[0-9A-Fa-f]{1,2}:[0-1][0-9A-Fa-f].[0-7]" />
<xs:pattern value="[0-9A-Fa-f]{1,2}:[0-1][0-9A-Fa-f]\.[0-7]" />
</xs:restriction>
</xs:simpleType>