acrn-hypervisor/misc/config_tools
Junjie Mao bd28e548d0 config_tools: populate default values to all nodes
The default value population algorithm introduced by commit
2bfaa34 ("config_tools: populate default values in scenario XML") only
populates default values to the first occurrence of a tag when the tag is
specified to allow multiple occurrences under an xs:all node. This may lead
to incomplete scenario XML as some of the default values are missed.

This patch fixes this issue by checking **all** nodes having the same tag
under a node specified by an xs:all schema.

Fixes: 2bfaa34 ("config_tools: populate default values in scenario XML")

Tracked-On: #6292
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2021-09-23 09:15:44 +08:00
..
acpi_gen config-tools: remove unused package and add nosec to subprocess 2021-08-13 16:11:42 +08:00
acpi_template/template config_tools: generate vDSDT according to allocated resources 2021-08-09 09:05:01 +08:00
board_config config-tools: remove the misc_cfg.h.py 2021-09-13 09:04:37 +08:00
board_inspector config_tools: remove the log of sucessfully generating board XML 2021-08-23 14:50:23 +08:00
config_app config_tools: rename UI menu 2021-09-09 09:21:51 +08:00
data config_tool: remove "gpu" parameter when pass-thru IGD 2021-09-22 15:32:01 +08:00
hv_config config-tools: remove unused package and add nosec to subprocess 2021-08-13 16:11:42 +08:00
launch_config config_tool: remove "gpu" parameter when pass-thru IGD 2021-09-22 15:32:01 +08:00
library config_tools: update the logic of getting gpu bdf 2021-08-26 20:08:38 +08:00
scenario_config config_tools: populate default values to all nodes 2021-09-23 09:15:44 +08:00
schema hv && config-tool: Rename GUEST_FLAG_TPM2_FIXUP 2021-08-26 09:24:50 +08:00
static_allocators config-tools: assign a fixed address to log area start address 2021-09-14 14:57:50 +08:00
xforms config-tools: add ROOTFS to misc_cfg.h.xsl 2021-09-13 09:04:37 +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.