acrn-hypervisor/misc/config_tools
Junjie Mao a6614e7e2f config_tools: board_inspector: refactors MSR utilities
In v3.0 the msrfield class has its initializer changed in a way that is
incompatible with the parameter names or the getter/setter. When introduced
from the BITS project, that class allows specifying an MSR field of
arbitrary length by being given the index of the most and least significant
bits.

This patch restores the original behavior of that msrfield class and moves
the use-case specific methods, namely is_vmx_cap_supported and
is_ctrl_setting_allowed, to a helper class.

Parsing of the VMX capability reporting MSRs in msr.py are updated
accordingly, and brief documentation of the MSR fields are added as well.

Tracked-On: #7948
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2022-08-05 07:36:40 +08:00
..
acpi_gen config_tools: acpi_gen: generate vRTCT instead of copying a physical one 2022-08-05 07:36:40 +08:00
acpi_template/template Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
board_config Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
board_inspector config_tools: board_inspector: refactors MSR utilities 2022-08-05 07:36:40 +08:00
configurator config_tool: Instruction missing for L2-only users 2022-08-02 08:43:53 +08:00
data Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
hv_config Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
launch_config misc: refine slot issue of launch script 2022-07-29 17:03:45 +08:00
library Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
scenario_config Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
schema misc: add assert to check the duplicate devices 2022-08-03 15:34:06 +08:00
service_vm_config Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
static_allocators config_tools: board_inspector: record all details from RTCT in board XML 2022-08-05 07:36:40 +08:00
xforms Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
build.cmd config_tools: fix Windows config_tools package build script 2022-05-22 20:10:24 +08:00
LICENSE config_tools: packaging config tool scripts for easier import 2022-03-18 08:49:06 +08:00
MANIFEST.in config_tools: change JSON Schema source file 2022-05-13 11:13:42 +08:00
pyproject.toml config_tools: packaging config tool scripts for easier import 2022-03-18 08:49:06 +08:00
README.md config_tools: packaging config tool scripts for easier import 2022-03-18 08:49:06 +08:00
setup.cfg config_tools: change JSON Schema source file 2022-05-13 11:13:42 +08:00

Supporting libraries of ACRN configuration toolset

This package contains the libraries supporting ACRN configuration toolset, including:

  • The manipulators and validators of scenario schemas or XMLs
  • The generator of guest ACPI tables

The main objective of this package is to ease the import of the supporting libraries in the ACRN configurator which uses a Python interpreter built in WebAssembly (WASM). This package is thus NOT intended to be used by users; invoke the Python scripts directly if needed.