mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-30 10:55:27 +00:00
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> |
||
---|---|---|
.. | ||
acpi_gen | ||
acpi_template/template | ||
board_config | ||
board_inspector | ||
configurator | ||
data | ||
hv_config | ||
launch_config | ||
library | ||
scenario_config | ||
schema | ||
service_vm_config | ||
static_allocators | ||
xforms | ||
build.cmd | ||
LICENSE | ||
MANIFEST.in | ||
pyproject.toml | ||
README.md | ||
setup.cfg |
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.