mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-10-07 09:15:17 +00:00
While we have default values of configuration entries stated in the schema of scenario XMLs, today we still require user-given scenario XMLs to contain literally ALL XML nodes. Missing of a single node will cause schema validation errors even though we can use its default value defined in the schema. This patch allows user-given scenario XMLs to ignore nodes with default values. It is done by adding the missing nodes, all containing the defined default values, to the input scenario XML when copying it to the build directory. This approach imposes no changes to either the schema or subsequent scripts in the build system. Tracked-On: #6292 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.