mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-17 06:49:25 +00:00
acrn-config: fix the issue of generating the vuart with incorrect name
When generate the launch scripts, the pm_by_vuart setting of pm_notify_channel in launch setting should be according to the config of SOS vuart1. Tracked-On: #5154 Signed-off-by: Shixiong Zhang <shixiongx.zhang@intel.com>
This commit is contained in:
@@ -587,7 +587,8 @@ 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
|
||||
print(" {} \\".format(launch_cfg_lib.PM_CHANNEL_DIC[pm_key]), 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)
|
||||
|
||||
# set logger_setting for all VMs
|
||||
print(" $logger_setting \\", file=config)
|
||||
|
Reference in New Issue
Block a user