mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-16 04:09:37 +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> |
||
---|---|---|
.. | ||
default_populator.py | ||
README | ||
scenario_cfg_gen.py | ||
scenario_item.py | ||
scenario_transformer.py | ||
validator.py |
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