mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-24 22:42:53 +00:00
config-tools: loosen IVSHMEM_REGION restriction in schema
A scenario can enable multiple IVSHMEM_REGIONs, loosen the restriction to extend multiple regions support. Tracked-On: #5863 Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
This commit is contained in:
parent
d9cd7f964b
commit
b33c418132
@ -130,18 +130,13 @@ Read more about the available scheduling options in :ref:`cpu_sharing`.</xs:docu
|
||||
<xs:union memberTypes="None SerialConsoleType" />
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="IVSHMEMRegionPattern">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="hv:/\w+,\s?\d+\s?,\s?\d\s?(:\s?\d\s?)+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="IVSHMEMRegionType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Either empty or a string.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:union memberTypes="None IVSHMEMRegionPattern" />
|
||||
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="|hv:/\w+,\s?\d+\s?,\s?\d\s?(:\s?\d\s?)+" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:complexType name="IVSHMEMInfo">
|
||||
@ -151,7 +146,7 @@ Read more about the available scheduling options in :ref:`cpu_sharing`.</xs:docu
|
||||
<xs:documentation>Enable inter-VM shared memory (IVSHMEM) feature.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="IVSHMEM_REGION" type="IVSHMEMRegionType">
|
||||
<xs:element name="IVSHMEM_REGION" type="IVSHMEMRegionType" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A comma-separated list with the inter-VM shared memory region name,
|
||||
size, and VM IDs that may communicate using this shared region:
|
||||
|
Loading…
Reference in New Issue
Block a user