acrn-hypervisor/misc/config_tools/scenario_config
Junjie Mao 678879fd34 config_tools: more annotation on the config items
This patch adds the following annotations to the config items defined in
the schema of scenario XMLs:

  - acrn:title, which defines the human-readable label of the corresponding
    widgets in the configurator.

  - acrn:views, which controls in which view(s) this item shows in the
    configurator.

  - acrn:applicable-vms, which specifies the kinds of VMs (pre-launched,
    post-launched and/or service VM) this item applies to. An item not
    applicable to a certain type of VM will not be shown in the
    configurator, and will trigger validation error if that item exists for
    a VM of that specific type.

v1 -> v2:

  * Preserve the CPU affinity settings for service VMs. This will be needed
    later when we want to restrict the available CPUs the service VM can use at
    runtime (but not at initialization time).

Tracked-On: #6690
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2022-03-15 10:22:37 +08:00
..
default_populator.py config_tools: add a slicer of XML schema 2022-03-15 10:22:37 +08:00
lxml_loader.py config_tools: composing operations around XMLs as pipelines 2022-03-15 10:22:37 +08:00
pipeline.py config_tools: composing operations around XMLs as pipelines 2022-03-15 10:22:37 +08:00
README acrn-config: Reorg config tool folder 2021-01-27 11:08:28 +08:00
scenario_cfg_gen.py config tool: add load_order and redefine vm_type 2022-02-22 16:25:27 +08:00
scenario_item.py config_tools: merge board_private.rootfs and board_private.bootargs to os_config.bootargs 2022-01-19 13:14:49 +08:00
scenario_transformer.py config_tools: walk through xs:alternative 2022-03-15 10:22:37 +08:00
schema_slicer.py config_tools: add a slicer of XML schema 2022-03-15 10:22:37 +08:00
upgrader.py config_tools: more annotation on the config items 2022-03-15 10:22:37 +08:00
validator.py config_tools: add a slicer of XML schema 2022-03-15 10:22:37 +08:00
xml_loader.py config_tools: composing operations around XMLs as pipelines 2022-03-15 10:22:37 +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