mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-16 04:09:37 +00:00
This patch adds the assertion (in XSD) that validates if all explicitly specified vBDF (including those for virtual UART controllers and IVSHMEM interfaces) are unique. Tracked-On: #7330 Signed-off-by: Junjie Mao <junjie.mao@intel.com>
22 lines
750 B
XML
22 lines
750 B
XML
<?xml version="1.0"?>
|
|
<xs:schema
|
|
xmlns:xi="http://www.w3.org/2003/XInclude"
|
|
xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
|
|
<xs:element name="acrn-config">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:any processContents="skip" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
<xs:anyAttribute processContents="skip"/>
|
|
|
|
<xi:include href="checks/cpu_assignment.xsd" xpointer="xpointer(id('root')/*)" />
|
|
<xi:include href="checks/vbdf_assignment.xsd" xpointer="xpointer(id('root')/*)" />
|
|
<xi:include href="checks/vm_types.xsd" xpointer="xpointer(id('root')/*)" />
|
|
<xi:include href="checks/passthrough_devices.xsd" xpointer="xpointer(id('root')/*)" />
|
|
|
|
</xs:complexType>
|
|
</xs:element>
|
|
|
|
</xs:schema>
|