mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-06 19:30:46 +00:00
acrn-config: add fusa_partition scenario on ehl-crb-b board
add fusa_partition scenario with 1 pre-launched Zephyr and 1 pre-launched RTVM for ehl-crb-b board. v2: fix the issue for build failure for partition mode by error check of bootargs. Tracked-On: #5665 Signed-off-by: Shuang Zheng <shuang.zheng@intel.com> Reviewed-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
@@ -446,8 +446,9 @@ def main(args):
|
||||
PASSTHROUGH_PTCT = False
|
||||
|
||||
kern_args = common.get_leaf_tag_map(scenario, "os_config", "bootargs")
|
||||
vm_type = common.get_leaf_tag_map(scenario, "vm_type")
|
||||
for vm_id, passthru_devices in dict_passthru_devices.items():
|
||||
if kern_args[int(vm_id)].find('reboot=acpi') == -1:
|
||||
if kern_args[int(vm_id)].find('reboot=acpi') == -1 and vm_type[int(vm_id)] not in ['SAFETY_VM']:
|
||||
emsg = "you need to specify 'reboot=acpi' in scenario file's bootargs for VM{}".format(vm_id)
|
||||
print(emsg)
|
||||
err_dic['vm,bootargs'] = emsg
|
||||
|
Reference in New Issue
Block a user