mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-19 20:22:46 +00:00
acrn-config: fix the wrong vuart name in launch script
when fix the issue of _PM_SystemS5 with life_mngr fail, the vuart1(tty) item was devided into two parts, the last part "/dev/tty*" which need to get will be added to the end, so it should be handled singly, but it will be added to other item too, such as vuart1(pty). Tracked-On:#5366 Signed-off-by: Shixiong Zhang <shixiongx.zhang@intel.com>
This commit is contained in:
parent
0eb50e5668
commit
22c5dd2c58
@ -587,8 +587,10 @@ def dm_arg_set(names, sel, virt_io, dm, vmid, config):
|
||||
err_key = "uos:id={}:poweroff_channel".format(vmid)
|
||||
launch_cfg_lib.ERR_LIST[err_key] = "vuart1 of VM{} in scenario file should select 'SOS_COM2_BASE'".format(sos_vmid + vmid)
|
||||
return
|
||||
scenario_cfg_lib.get_sos_vuart_settings()
|
||||
print(" {} \\".format(launch_cfg_lib.PM_CHANNEL_DIC[pm_key] + scenario_cfg_lib.SOS_UART1_VALID_NUM), file=config)
|
||||
scenario_cfg_lib.get_sos_vuart_settings()
|
||||
print(" {} \\".format(launch_cfg_lib.PM_CHANNEL_DIC[pm_key] + scenario_cfg_lib.SOS_UART1_VALID_NUM), file=config)
|
||||
else:
|
||||
print(" {} \\".format(launch_cfg_lib.PM_CHANNEL_DIC[pm_key]), file=config)
|
||||
|
||||
# set logger_setting for all VMs
|
||||
print(" $logger_setting \\", file=config)
|
||||
|
Loading…
Reference in New Issue
Block a user