mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-24 22:42:53 +00:00
acrn-config: remove redundant get_leaf_tag_map in launch config lib
The function of get_leaf_tag_map(info_file, prime_item, item='') in launch_config_lib.py is redundant and it will be called incorrectly when generating the launch script. This patch remove the function. Tracked-On: #3854 Signed-off-by: Wei Liu <weix.w.liu@intel.com>
This commit is contained in:
parent
2c2ccfc52c
commit
12a3ec8aa1
@ -366,17 +366,6 @@ def get_vpid_from_bdf(bdf_vpid_map, bdf_list):
|
||||
return vpid_list
|
||||
|
||||
|
||||
def get_leaf_tag_map(info_file, prime_item, item):
|
||||
"""
|
||||
:param info_file: some configurations in the info file
|
||||
:param prime_item: the prime item in xml file
|
||||
:param item: the item in xml file
|
||||
:return: dictionary which item value could be indexed by vmid
|
||||
"""
|
||||
vmid_item_dic = common.get_leaf_tag_map(info_file, prime_item, item)
|
||||
return vmid_item_dic
|
||||
|
||||
|
||||
def gen_patch(srcs_list, launch_name):
|
||||
"""
|
||||
Generate patch and apply to local source code
|
||||
|
Loading…
Reference in New Issue
Block a user