acrn-hypervisor/misc/config_tools/board_inspector/cpuparser
Kunhui-Li c9de9b61a3 config_tools: add BIOS invalid setting check
1. check if VMX feature is enabled in the BIOS setting.
If disabled, board inspector will show error message.
2. check if Hyper-Threading is enabled in the BIOS setting.
If enabled, board inspector will show warning message.
3. check if VT-d is enabled in the BIOS setting.
If disabled, board inspector will show error message.

v2-->v3:
Use the class names instead of addresses, and invoke the rdmsr method
of each class.

v1-->v2:
1. For the Hyper-Threading BIOS check, update the log level to the warning.
2. For VMX invalid BIOS check, the XDS does the actual check,
the board inspector only collects information.

Tracked-On: #6689
Signed-off-by: Kunhui-Li <kunhuix.li@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
2022-03-30 09:43:31 +08:00
..
__init__.py config-tools: bring all cores online 2022-02-17 14:11:49 +08:00
cpuids.py config_tools: add CPU capability checks 2022-03-30 09:43:31 +08:00
msr.py config_tools: add BIOS invalid setting check 2022-03-30 09:43:31 +08:00
platformbase.py config_tools: add CPU capability checks 2022-03-30 09:43:31 +08:00