mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-22 05:30:24 +00:00
acrn-config: update README for acrn-config
align the usage of acrn-config tool and their README Tracked-On: #3602 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
parent
d35ca113d9
commit
172d5ee6e5
@ -2,7 +2,7 @@ folder structure
|
|||||||
|
|
||||||
Kconfig : Select working scenario and target board, configure ACRN hypervisor capabilities and features.
|
Kconfig : Select working scenario and target board, configure ACRN hypervisor capabilities and features.
|
||||||
target : Get target board information under native Linux environment and generate board_info XML.
|
target : Get target board information under native Linux environment and generate board_info XML.
|
||||||
board_config : Parse board_info XML and scenario XML to generate board related configuration files under hypervisor/arch/x86/configs/$(BOARD)/ folder.
|
board_config : Parse board_info XML and scenario XML to generate board related configuration files under misc/acrn-config/xmls/board-xmls/ folder.
|
||||||
scenario_config : Parse board_info XML and scenario XML to generate scenario based VM configuration files under hypervisor/scenarios/$(SCENARIO)/ folder.
|
scenario_config : Parse board_info XML and scenario XML to generate scenario based VM configuration files under misc/acrn-config/xmls/config-xmls/$(BOARD)/ folder.
|
||||||
launch_config : Parse board_info XML, scenario XML and devicemodel param XML to generate launch script for post-launched vm under devicesmodel/samples/$(BOARD)/ folder.
|
launch_config : Parse board_info XML, scenario XML and devicemodel param XML to generate launch script for post-launched vm under misc/acrn-config/xmls/config-xmls/$(BOARD)/ folder.
|
||||||
library : The folder stores shared software modules or libs for acrn-config offline tool.
|
library : The folder stores shared software modules or libs for acrn-config offline tool.
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
Please run board_cfg_gen.py to generate board related configuration patch, the patch would be applied on current acrn-hypervisor git tree automatically.
|
Please run board_cfg_gen.py to generate board related configuration patch, the patch would be applied on current acrn-hypervisor git tree automatically.
|
||||||
|
|
||||||
usage: python3 board_cfg_gen.py [h] --board <board_info_file>
|
usage: python3 board_cfg_gen.py [h] --board <board_info_file> --scenario <scenario_info_file>
|
||||||
positional arguments:
|
positional arguments:
|
||||||
board_info_file : file name of the board info XML
|
board_info_file : file name of the board info XML
|
||||||
|
scenario_info_file : file name of the scenario info XML
|
||||||
|
@ -1 +1,8 @@
|
|||||||
TODO: parse board_info XML, scenario XML and devicemodel param XML to generate launch script for post-launched vm under devicesmodel/samples/$(BOARD)/ folder
|
Please run launch_cfg_gen.py to generate board related configuration patch, the patch would be applied on current acrn-hypervisor git tree automatically.
|
||||||
|
|
||||||
|
usage: python3 launch_cfg_gen.py [h] --board <board_info_file> --scenario <scenario_info_file> --launch <launch_info_file>
|
||||||
|
positional arguments:
|
||||||
|
board_info_file : file name of the board info XML
|
||||||
|
scenario_info_file : file name of the scenario info XML
|
||||||
|
launch_info_file : file name of the launch info
|
||||||
|
uosid : this is the relateive id for post launch vm in scenario info XML:[1..max post launch vm]
|
||||||
|
@ -90,7 +90,7 @@ def usage(file_name):
|
|||||||
print('board_info_file : file name of the board info')
|
print('board_info_file : file name of the board info')
|
||||||
print('scenario_info_file : file name of the scenario info')
|
print('scenario_info_file : file name of the scenario info')
|
||||||
print('launch_info_file : file name of the launch info')
|
print('launch_info_file : file name of the launch info')
|
||||||
print('uosid : the vm id which to launch:[0..max uosid id]')
|
print('uosid : this is the relateive id for post launch vm in scenario info XML:[1..max post launch vm]')
|
||||||
|
|
||||||
|
|
||||||
def get_param(args):
|
def get_param(args):
|
||||||
|
@ -1 +1,6 @@
|
|||||||
TODO: parse board_info XML and scenario XML to generate scenario based VM configuration files under hypervisor/scenarios/$(SCENARIO)/ folder
|
Please run scenario_cfg_gen.py to generate board related configuration patch, the patch would be applied on current acrn-hypervisor git tree automatically.
|
||||||
|
|
||||||
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user