acrn-hypervisor/misc/acrn-config/target
Shuang Zheng 061091a489 acrn-config: offline tool to generate ACPI tables for pre-launched VMs
use offline tool to generate one binary of ACPI tables for pre-launched
VMs, then load the ACPI binary into guest physical memory as grub module.
Users can configure the resources or devices like TPM2 for the
pre-launched VM from sceanrio XMLs or UI, and the offline tool will
generate ASL code of the ACPI tables with the configured resources or
devices, then compile the ASL code to one binary when building ACRN.

Tracked-On: #5266

Signed-off-by: Shuang Zheng <shuang.zheng@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
2020-09-08 19:52:25 +08:00
..
acpi.py acrn-config: offline tool to generate ACPI tables for pre-launched VMs 2020-09-08 19:52:25 +08:00
board_parser.py acrn-config: remove unnecessary check for pci.ids 2020-07-06 13:43:15 +08:00
clos.py acrn-config: Generate target xml and board.c file with MBA RDT resource 2020-03-06 08:52:55 +08:00
dmar.py acrn-config: set DRHDx_IGNORE while no DEV_SCOPE in DRHD 2019-12-13 13:48:14 +08:00
dmi.py
misc.py acrn-config: get the max number with integer list 2020-08-22 17:42:22 +08:00
parser_lib.py acrn-config: detect and parse MSI-X table number 2020-07-10 19:39:11 +08:00
pci_dev.py
README

board_parser.py will collect all board related info and then generate a board info file for acrn-config host tool usage.

usage: python3 board_parser.py <board_name> [--out board_info_file]

board_name : the name of board that run ACRN hypervisor, like apl-up2/nuc7i7dnb. It will be used as name of the board configurations folder which created by acrn-config host tool.
board_info_file : (optional) the name of board info file. if it is not specified, a name of <board_name>.xml will be generated under ./out/ folder by default.

Please run this script under native Linux environment with root privilege.

OS requirement:
	Release:	Ubuntu 18.04+ or ClearLinux 30210+
	Tools:		cpuid, rdmsr, lspci, dmidecode
	kernel cmdline: "idle=nomwait intel_idle.max_cstate=0 intel_pstate=disable"