acrn-hypervisor/misc/config_tools/launch_config
Kunhui-Li 9306de95a7 config_tools: fix the duplicate PT_SLOT value issue
when we add two or more virtio block devices and rename them for a VM
in launch xml files, then generate launch scripts through the UI.
After ensuring the devices names are different, we repeat these operations
continuously. Finally we will get the duplicate PT_SLOT value 30 for
different virtio block devices in a launch script. This is wrong.

As a workaround, we reassign PT_SLOT variate to reset it after the launch
script is generated every time.

Tracked-On: #6767
Signed-off-by: Kunhui-Li <kunhuix.li@intel.com>
2021-11-04 09:43:00 +08:00
..
com.py config_tools: Update GPU passthrough support 2021-11-02 18:30:54 +08:00
launch_cfg_gen.py config_tools: fix the duplicate PT_SLOT value issue 2021-11-04 09:43:00 +08:00
launch_item.py config_tools: Update GPU passthrough support 2021-11-02 18:30:54 +08:00
pt.py config_tools: Update GPU passthrough support 2021-11-02 18:30:54 +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]