acrn-hypervisor/misc/config_tools/board_inspector/extractors
Kunhui-Li 4bf53e4b83 config_tools: category based on different log levels
category based on different log levels:
1) If the board inspector show CRITICAL error messages, it means that the
board inspector tool exit instantly and generate no file.
2) If the board inspector show ERROR messages, it means that the board
inspector will generate the board XML file successfully, but several conditions
may result in ACRN build or boot failure cannot continue execution due to the error.
3) If the board inspector show WARNING messages, this means that the board inspector
generate the board XML file successfully, but this board XML file is lack of
some feature which could still boot ACRN but loss some features.
4) If the board inspector show INFO messages, this means that board inspector
printed out some normal information.
5) If the board inspector show DEBUG messages, this means that it is used to
debug board inspector workflow.

v1->v2
1. Keep the assertions or exceptions under the acpiparser, inspectorlib
and smbiosparser directory.
2. Exit after all check_deps() completes instead of any unsatisfied dep
is identified.
3. As Amy's advice, Replace the message "{board_xml} saved successfully" with
the message "SUCCESS: Board configuration file <file name> generated successfully
and saved to <path>."

To do:
Print all messages using the colored font.

Tracked-On: #6689
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
Signed-off-by: Kunhui-Li <kunhuix.li@intel.com>
2022-02-17 14:49:25 +08:00
..
10-processors.py config_tools: fix illegal access to the level_types dictionary 2022-02-09 10:59:46 +08:00
20-cache.py config_tools: category based on different log levels 2022-02-17 14:49:25 +08:00
30-memory.py board_inspector: make filtering by device status optional 2021-08-09 09:05:01 +08:00
40-acpi-tables.py config-tools: add 40-acpi-tables.py to board_inspector/extractors 2022-01-18 14:04:26 +08:00
50-acpi-namespace.py config_tools: category based on different log levels 2022-02-17 14:49:25 +08:00
60-pci.py config_tools: category based on different log levels 2022-02-17 14:49:25 +08:00
80-lookup.py board_inspector: make filtering by device status optional 2021-08-09 09:05:01 +08:00
90-sorting.py board_inspector: make filtering by device status optional 2021-08-09 09:05:01 +08:00
helpers.py config_tools: category based on different log levels 2022-02-17 14:49:25 +08:00