mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-10-22 04:41:28 +00:00
Use DX names (acrn:title) instead of element names in messages. Add missing message in rdt_support.xsd (all asserts need an annotation with documentation for the error message that will be reported). Tracked-On: #7685 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
18 lines
743 B
XML
18 lines
743 B
XML
<?xml version="1.0"?>
|
|
<!-- Copyright (C) 2022 Intel Corporation. -->
|
|
<!-- SPDX-License-Identifier: BSD-3-Clause -->
|
|
<xs:schema xml:id="root"
|
|
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
xmlns:acrn="https://projectacrn.org">
|
|
|
|
<xs:assert test="every $vm in /acrn-config/vm satisfies
|
|
every $vsock in $vm/virtio_devices/vsock satisfies
|
|
count(//virtio_devices/vsock[text()=$vsock]) = 1
|
|
">
|
|
<xs:annotation acrn:severity="error" acrn:report-on="$vm">
|
|
<xs:documentation>VM "{$vm/name}" repeats a vsock CID assignment: {$vsock}, used in this VM or another VM. Make all vsock CID values unique.</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:assert>
|
|
|
|
</xs:schema>
|