mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-02 04:15:31 +00:00
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> |
||
---|---|---|
.. | ||
__init__.py | ||
launch_cfg_gen.py | ||
launch_script_template.sh | ||
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]