mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-28 18:04:23 +00:00
The current UI have no live-check to check whether a VM connect to itself. So we add an assert to the schema and return error when user connect a VM to itself. Signed-off-by: Chenli Wei <chenli.wei@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
23 lines
836 B
XML
23 lines
836 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')/*)" />
|
|
<xi:include href="checks/vuart_config.xsd" xpointer="xpointer(id('root')/*)" />
|
|
|
|
</xs:complexType>
|
|
</xs:element>
|
|
|
|
</xs:schema>
|