mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-18 07:18:45 +00:00
acrn-config: modify the get_scenario_uuid function to use the right vmid
Fail to launch waag by the script generated by launch config on hybrid_rt scenario, the get_scenario_uuid function should use the vmid instad of the uosid to get the correct uuid. Tracked-On: #5336 Signed-off-by: Shixiong Zhang <shixiongx.zhang@intel.com>
This commit is contained in:
@@ -551,8 +551,8 @@ def dm_arg_set(names, sel, virt_io, dm, vmid, config):
|
||||
boot_image_type(dm, vmid, config)
|
||||
|
||||
# uuid get
|
||||
scenario_uuid = launch_cfg_lib.get_scenario_uuid(vmid)
|
||||
sos_vmid = launch_cfg_lib.get_sos_vmid()
|
||||
scenario_uuid = launch_cfg_lib.get_scenario_uuid(vmid, sos_vmid)
|
||||
|
||||
# clearlinux/android/alios
|
||||
print('acrn-dm -A -m $mem_size -s 0:0,hostbridge -U {} \\'.format(scenario_uuid), file=config)
|
||||
|
Reference in New Issue
Block a user