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:
Wei Liu 2019-09-23 10:41:05 +08:00 committed by wenlingz
parent d35ca113d9
commit 172d5ee6e5
5 changed files with 20 additions and 7 deletions

View File

@ -2,7 +2,7 @@ folder structure
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.
board_config : Parse board_info XML and scenario XML to generate board related configuration files under hypervisor/arch/x86/configs/$(BOARD)/ folder.
scenario_config : Parse board_info XML and scenario XML to generate scenario based VM configuration files under hypervisor/scenarios/$(SCENARIO)/ 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.
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 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 misc/acrn-config/xmls/config-xmls/$(BOARD)/ folder.
library : The folder stores shared software modules or libs for acrn-config offline tool.

View File

@ -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.
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:
board_info_file : file name of the board info XML
scenario_info_file : file name of the scenario info XML

View File

@ -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]

View File

@ -90,7 +90,7 @@ def usage(file_name):
print('board_info_file : file name of the board info')
print('scenario_info_file : file name of the scenario 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):

View File

@ -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