acrn-hypervisor/misc/config_tools
Junjie Mao 4d952ce007 config_tools: conduct full validation on save
This patch makes the configurator validate both syntactically and
semantically the resulting scenario XML everytime users save their
configurations. This allows the validation to catch all errors and report
status properly.

While a full validation is conducted, the syntactic errors are not shown
at the top of the forms in the same way as the semantic ones. This is
because syntactic rules are already built into the JSON schema and
will be warned real-time under the corresponding widgets. There is
no need to duplicate such errors. At the same time, the messages of
syntactic errors are generated by xmlschema which may not look
friendly to end users who do not have knowledge about the internal
structures of scenario XMLs.

Tracked-On: #6691
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2022-06-10 18:40:54 +08:00
..
acpi_gen config_tools: track whether each vCPU is used for real-time or not 2022-04-21 10:08:53 +08:00
acpi_template/template config_tools: generate vDSDT according to allocated resources 2021-08-09 09:05:01 +08:00
board_config misc: refine CLOS module for expansibility 2022-05-11 17:00:51 +08:00
board_inspector board_inspector: refine board_inspector.py 2022-06-02 15:59:56 +08:00
configurator config_tools: conduct full validation on save 2022-06-10 18:40:54 +08:00
data config tool: change vm_type to required field 2022-06-08 16:30:46 +08:00
hv_config misc: modify the logic of generate HV_RAM_START 2022-06-07 18:19:39 +08:00
launch_config misc: config_tool: fix passthrough device options in launch script 2022-05-30 15:54:54 +08:00
library misc: modify the logic of generate HV_RAM_START 2022-06-07 18:19:39 +08:00
scenario_config config_tools: refine some issues in upgrader 2022-06-10 09:09:56 +08:00
schema config_tools: relax the checks of scenario XMLs from users 2022-06-10 18:40:54 +08:00
service_vm_config misc: modify the non stand s5 vUART generate logic 2022-05-24 11:44:03 +08:00
static_allocators config-tools:refine memory allocation for vm 2022-06-09 22:21:20 +08:00
xforms misc: modify the logic of generate HV_RAM_START 2022-06-07 18:19:39 +08:00
build.cmd config_tools: fix Windows config_tools package build script 2022-05-22 20:10:24 +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
pyproject.toml config_tools: packaging config tool scripts for easier import 2022-03-18 08:49:06 +08:00
README.md config_tools: packaging config tool scripts for easier import 2022-03-18 08:49:06 +08:00
setup.cfg config_tools: change JSON Schema source file 2022-05-13 11:13:42 +08:00

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.