acrn-hypervisor/misc/config_tools
Junjie Mao 0e225c4b23 config_tools: add a slicer of XML schema
We plan to add the following attributes to element definitions in the XML
schema:

  - acrn:applicable-vms, which specify if an element applies to a
    pre-launched VM, the service VM or a post-launched VM

  - acrn:views, which specify if an element shall appear in the basic or
    advanced tab in the configurator.

In order to reduce the attributes above to existing XML technologies, we
need to create new complex types that lists all config items that applies
to a pre-launched VM, the service VM or a post-launched VM, or that should
be shown in the basic or advanced view. Such types can then be used to
replace the original, all-in-one type during validation or configurator
rendering.

When unspecified, an element always applies under all possible
circumstances.

To realize this slicing mechanism, this patch adds a generic class
implementing the common part of slicing XML schema types and two
specific-purpose slicers according to the applicable VMs or views
attributes.

v2 -> v3:

  * Update configdoc.xsl to recognize types in xs:alternative nodes.

Tracked-On: #6690
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2022-03-15 10:22:37 +08:00
..
acpi_gen config tool: remove guest_flags in user interface 2022-03-02 15:50:23 +08:00
acpi_template/template config_tools: generate vDSDT according to allocated resources 2021-08-09 09:05:01 +08:00
board_config config tool: add load_order and redefine vm_type 2022-02-22 16:25:27 +08:00
board_inspector config_tools: fix the board inspector exit issue 2022-02-28 11:23:38 +08:00
config_app config_tools: make acrn_configurator.py an executable script 2022-01-26 14:20:43 +08:00
data misc: modify vuart config for xmls 2022-03-08 17:07:48 +08:00
hv_config config_tools: remove some obsolete code 2022-03-03 14:40:59 +08:00
launch_config config_tools: fix the issue that doesn't offline CPU in SCHED_NOOP mode 2022-03-04 10:31:19 +08:00
library config tool: add load_order and redefine vm_type 2022-02-22 16:25:27 +08:00
scenario_config config_tools: add a slicer of XML schema 2022-03-15 10:22:37 +08:00
schema config_tools: add a slicer of XML schema 2022-03-15 10:22:37 +08:00
service_vm_config misc: refine vuart connection 2022-03-08 17:07:48 +08:00
static_allocators config tool: Fix tee guest flag 2022-03-10 14:35:57 +08:00
xforms misc: refine vuart connection 2022-03-08 17:07:48 +08:00
README config_tools: remove obsolete kconfig files 2021-08-09 09:25:02 +08:00

folder structure

	board_inspector	: Get target board information under native Linux environment and generate board_info XML.
	board_config	: Parse board_info XML and scenario XML to generate board related configuration files under misc/acrn-config/xmls/board-xmls/ folder.
	scenario_config	: Parse board_info XML and scenario XML to generate scenario based VM configuration files under misc/acrn-config/xmls/config-xmls/$(BOARD)/ folder.
	launch_config	: Parse board_info XML, scenario XML and devicemodel param XML to generate launch script for post-launched vm under misc/acrn-config/xmls/config-xmls/$(BOARD)/ folder.
	library		: The folder stores shared software modules or libs for acrn-config offline tool.