acrn-hypervisor/misc/config_tools/launch_config
Zhang Wei 7b8b489508 config_tool: modify the launchscript template
Change  ">>/dev/stderr" to ">&2"
    Although it seems that the two have the same effects, the way they work is different.
    The ">/dev/stderr" does an open(), it goes to the filesystem look for that file, opens and write to it. The second way, ">&2",just uses file descriptor 2.
    The acrnd deamon outputs the stdin and stderr messages to journal through socket. And the socket cannot be manipulated with open methods.So acrnd cannot open the "/dev/stderr" which has redirected to a socket.
    
    For successfully excuting the create_tap function in acrnd deamon, We change ">> /dev/stderr" to ">&2".
    For the remain ">> /dev/stderr", they all follow the echo command and will not harm the launchscript functionality.
    
    Tracked-On: #8066
    
    Signed-off-by: Zhang Wei <wei6.zhang@intel.com>
2022-08-30 11:24:04 +08:00
..
__init__.py config_tools: refactor configurator for web page cache issue 2022-04-25 18:13:12 +08:00
launch_cfg_gen.py misc: add cpu details to launch script 2022-08-23 16:40:25 +08:00
launch_script_template.sh config_tool: modify the launchscript template 2022-08-30 11:24:04 +08:00
README

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]