acrn-hypervisor/misc/config_tools
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
..
acpi_gen config_tools: acpi_gen: generate vRTCT instead of copying a physical one 2022-08-05 07:36:40 +08:00
acpi_template/template Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
board_config misc: modify hidden_pdev_list to fix build issue 2022-10-08 17:26:08 +08:00
board_inspector config_tool: bdf of ioport serial port 2022-10-21 22:49:55 +08:00
configurator config_tools: add virtio gpu widget 2022-10-26 08:15:17 +08:00
data Add configuration files for ASRock system, with Intel(R) 12th Gen Core(TM)CPU(formerly known as Alder Lake) and 32G memory. 2022-09-19 21:48:17 +08:00
hv_config Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
launch_config config_tools: refine virtio gpu in launch script 2022-10-26 08:15:17 +08:00
library misc: refine the allocate logic of offline tool 2022-10-19 15:58:25 +08:00
scenario_config config_tools: update the upgrader.py script for virtio gpu 2022-10-26 08:15:17 +08:00
schema config_tools: add assertions for virtio gpu 2022-10-26 08:15:17 +08:00
service_vm_config Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
static_allocators misc: refine the allocate logic of offline tool 2022-10-19 15:58:25 +08:00
xforms config_tools: add pio serial port bdf to config.h 2022-10-19 17:23:11 +08:00
LICENSE config_tools: packaging config tool scripts for easier import 2022-03-18 08:49:06 +08:00
MANIFEST.in config_tools: change JSON Schema source file 2022-05-13 11:13:42 +08:00
README.md config_tools: packaging config tool scripts for easier import 2022-03-18 08:49:06 +08:00
build.cmd config_tools: fix Windows config_tools package build script 2022-05-22 20:10:24 +08:00
pyproject.toml config_tools: packaging config tool scripts for easier import 2022-03-18 08:49:06 +08:00
requirements.txt config-tools: modified requirements.txt and update GSG 2022-08-26 16:56:16 +08:00
setup.cfg config_tools: change JSON Schema source file 2022-05-13 11:13:42 +08:00

README.md

Supporting libraries of ACRN configuration toolset

This package contains the libraries supporting ACRN configuration toolset, including:

  • The manipulators and validators of scenario schemas or XMLs
  • The generator of guest ACPI tables

The main objective of this package is to ease the import of the supporting libraries in the ACRN configurator which uses a Python interpreter built in WebAssembly (WASM). This package is thus NOT intended to be used by users; invoke the Python scripts directly if needed.