mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-30 04:55:21 +00:00
The "xs:alternative" nodes in XML schema enables specifying different types for the same node according to the contents of that node. A typical usage of this construct in the schema of scenario XMLs is to specify different types for a `vm` node depending on whether it is a pre-launched, post-launched or service VMs, so that each VM contains only configurations supported in that kind of VM. This patch adds support of xs:alternative nodes to the schema transformer so that default values can be populated appropriately after we add xs:alternative nodes to the schema. Tracked-On: #6690 Signed-off-by: Junjie Mao <junjie.mao@intel.com>
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.