mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-01 20:05:30 +00:00
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> |
||
---|---|---|
.. | ||
acpi_gen | ||
acpi_template/template | ||
board_config | ||
board_inspector | ||
config_app | ||
data | ||
hv_config | ||
launch_config | ||
library | ||
scenario_config | ||
schema | ||
service_vm_config | ||
static_allocators | ||
xforms | ||
README |
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.