mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-03-18 11:04:12 +00:00
This patch is to fix the bug which will report while changing board.xml.
The issue was that all data structures were class variables,
Data will be accumulated when calling
main(board_xml, scenario_xml, config_summary).
This patch moved all shared data to instance variables in __init__().
self.io_port = {}
self.io_description = []
self.pci_vuart = {}
self.pci_ivshmem = {}
self.amount_l3_cache = {}
self.service_vm_used_pcpu_list = []
Tracked-On: #8718
Signed-off-by: dongpingx <dongpingx.wu@intel.com>
Signed-off-by: Zhangwei6 <wei6.zhang@intel.com>
Please run scenario_cfg_gen.py to generate board related configuration files. usage: python3 scenario_cfg_gen.py [h] --board <board_info_file> --scenario <scenario_info_file> positional arguments: board_info_file : file name of the board info XML scenario_info_file : file name of the scenario info XML