acrn-hypervisor/misc/config_tools/scenario_config
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
..
default_populator.py config_tools: populate default values to all nodes 2021-09-23 09:15:44 +08:00
ivshmem_cfg_h.py hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
pci_dev_c.py hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
pt_intx_c.py hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
README acrn-config: Reorg config tool folder 2021-01-27 11:08:28 +08:00
scenario_cfg_gen.py config-tool: rename PSRARM to SSRAM 2021-05-17 14:31:42 +08:00
scenario_item.py acrn-config: Reorg config tool folder 2021-01-27 11:08:28 +08:00
vm_configurations_c.py HV: refine acrn_mmiodev data structure 2021-08-11 14:45:55 +08:00
vm_configurations_h.py acrn-config: Reorg config tool folder 2021-01-27 11:08:28 +08:00

Please run scenario_cfg_gen.py to generate board related configuration files.

usage: python3 scenario_cfg_gen.py [h] --board <board_info_file> --scenario <scenario_info_file>
positional arguments:
  board_info_file  : file name of the board info XML
  scenario_info_file  : file name of the scenario info XML