mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 17:58:30 +00:00
acrn-config: add PCI VUART config in scenario config UI
Add PCI VUART dynamic config for VMs in scenario config UI, keep legacy VUART config. PCI vuart base can be set to INVALID_PCI_BASE and PCI_VUART; users will configure the target_vm_id and target_vuart_id when PCI vuart base is set to PCI_VUART; users can dynamically add or delete PCI vuart for VMs. Tracked-On: #5394 Signed-off-by: Shuang Zheng <shuang.zheng@intel.com>
This commit is contained in:
@@ -58,6 +58,8 @@ def get_scenario_item_values(board_info, scenario_info):
|
||||
scenario_item_values["vm,mmio_resources,p2sb"] = hv_cfg_lib.N_Y
|
||||
scenario_item_values["vm,mmio_resources,TPM2"] = hv_cfg_lib.N_Y
|
||||
scenario_item_values.update(scenario_cfg_lib.avl_vuart_ui_select(scenario_info))
|
||||
scenario_item_values["vm,console_vuart,base"] = ['INVALID_PCI_BASE', 'PCI_VUART']
|
||||
scenario_item_values["vm,communication_vuart,base"] = ['INVALID_PCI_BASE', 'PCI_VUART']
|
||||
|
||||
# board
|
||||
(scenario_item_values["vm,board_private,rootfs"], num) = board_cfg_lib.get_rootfs(board_info)
|
||||
|
Reference in New Issue
Block a user