mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 18:14:53 +00:00
acrn-config: refine the data type for member of class
Unify the data type for scenario item. 1. Unified the scenario item, the type modified from list to dictionary. 2. remove some unused function. 3. add 'pci_dev_num'/'pci_devs' to hybrid xml for future support. Tracked-On: #3798 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
ee66a94ccf
commit
db909edda5
@@ -251,13 +251,13 @@ def get_order_type_by_vmid(idx):
|
||||
"""
|
||||
This is get pre launched vm count
|
||||
:param idx: index of vm id
|
||||
:return: idx and vm type mapping
|
||||
:return: vm type of index to vmid
|
||||
"""
|
||||
(err_dic, order_id_dic) = common.get_load_order_by_vmid(SCENARIO_INFO_FILE, VM_COUNT, idx)
|
||||
(err_dic, order_type) = common.get_load_order_by_vmid(SCENARIO_INFO_FILE, VM_COUNT, idx)
|
||||
if err_dic:
|
||||
ERR_LIST.update(err_dic)
|
||||
|
||||
return order_id_dic
|
||||
return order_type
|
||||
|
||||
|
||||
def get_valid_irq(board_info):
|
||||
|
||||
Reference in New Issue
Block a user