acrn-hypervisor/misc/config_tools/schema
Kunhui-Li 7c18e26044 config_tools: add assertions for virtio gpu
1. In the full screen mode, a VM supports 4 virtual displays at most.
2. A vm supports 2 virtual windows at most.
3. The monitor ID cannot be duplicated in the full screen mode.
4. All the display elements are in DisplayConfiguration of VMType.xsd. It
cannot be set as required. Using assertions to check if the sub-elements
are set for any type of virtual display accordingly.
 - check if a display has been added and a display type is set.
 - check if monitor ID is set for full screen virtual display.
 - check if resolution and offsets are set for window virtual display.

Tracked-On: #7970
Signed-off-by: Kunhui-Li <kunhuix.li@intel.com>
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
2022-10-26 08:15:17 +08:00
..
checks config_tools: add assertions for virtio gpu 2022-10-26 08:15:17 +08:00
VMtypes.xsd config_tools: refine virtio gpu device in the schema 2022-10-26 08:15:17 +08:00
__init__.py config_tools: refactor configurator for web page cache issue 2022-04-25 18:13:12 +08:00
board.xsd config_tools: check XML file structures on load 2022-05-19 09:31:46 +08:00
config.xsd config_tools: refine virtio gpu device in the schema 2022-10-26 08:15:17 +08:00
datachecks.xsd misc: add assert to check the total memory size of User VMs 2022-08-26 21:17:18 +08:00
scenario_structure.xsd config_tools: relax the checks of scenario XMLs from users 2022-06-29 13:53:42 +08:00
types.xsd config-tools: add CPU performance policy option 2022-10-08 11:13:21 +08:00