mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-02 04:15:31 +00:00
With a growing demand on host ACPI namespace for devices pass-through, it is now important to parse the ACPI namespace when generating board XMLs. This patch makes ACPI namespace parsing enabled by default by replacing the `--advanced` option, which is designed to enable the parsing, to `--basic` which disables it. The option provides a reliable way to disable ACPI namespace parsing completely in case the parsing blocks the generation of board XMLs, while the ACPI namespace parser will gracefully stop without polluting the board XML when it fails. This patch is added in v2 of the patch series. Tracked-On: #6287 Signed-off-by: Junjie Mao <junjie.mao@intel.com> |
||
---|---|---|
.. | ||
acpiparser | ||
cpuparser | ||
extractors | ||
legacy | ||
lib | ||
memmapparser | ||
pcieparser | ||
smbiosparser | ||
cli.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 cli.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 the current working directory by default. Please run this script under native Linux environment with root privilege. OS requirement: Release: Ubuntu 18.04+ Tools: cpuid, rdmsr, lspci, lxml, dmidecode (optional) kernel cmdline: "idle=nomwait intel_idle.max_cstate=0 intel_pstate=disable"