acrn-hypervisor/misc/config_tools/launch_config
Yang,Yu-chu 346490a7dc config-tools: enable PTM through config-tools
Configure PTM in post-launched VM using <PTM> element. If the //vm/PTM
sets to 'y', pci_dev.c.xsl appends the virtual root port to
corresponding struct acrn_vm_pci_dev_config of that VM. Currently it
supports only post-launched VMs.

Configure enable_ptm for dm argument. If a uos/enable_ptm with uos id
= 'vm_id 'sets to 'y' and the vm/PTM with the same vm_id sets to 'y',
append an "enable_ptm" flag to the end of passthrough ethernet devices.
Currently there is only ethernet card can support the "enable_ptm"flag.

For the schema validation, the <PTM> can only be ['y', 'n'].

For the launched script validation, the <enable_ptm> can only be ['y',
'n']. If the <enable_ptm> sets to 'y' but the corresponding <PTM> sets
to 'n', the launch script will fail to generate.

Tracked-On: #6054
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
2021-05-25 11:32:11 +08:00
..
com.py config-tools: enable PTM through config-tools 2021-05-25 11:32:11 +08:00
launch_cfg_gen.py config-tools: enable PTM through config-tools 2021-05-25 11:32:11 +08:00
launch_item.py config-tools: enable PTM through config-tools 2021-05-25 11:32:11 +08:00
pt.py acrn-config: Reorg config tool folder 2021-01-27 11:08:28 +08:00
README acrn-config: Reorg config tool folder 2021-01-27 11:08:28 +08:00

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

usage: python3 launch_cfg_gen.py [h] --board <board_info_file> --scenario <scenario_info_file> --launch <launch_info_file>
positional arguments:
  board_info_file  : file name of the board info XML
  scenario_info_file  : file name of the scenario info XML
  launch_info_file :  file name of the launch info
  uosid :  this is the relateive id for post launch vm in scenario info XML:[1..max post launch vm]