Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime-rs: Fix Panic Issue with 'enable-debug' Option on Cloud Hyper…
…visor Fixes a problem where parse_ch_log_level() fails to work correctly when the "enable-debug" option is turned on in the configuration.toml. Root Cause of Panic: Parsing certain logs, such as "[0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd0c0]" "cloud-hypervisor: 1.302s: <vcpu0> INFO:.." can triggers the following panic: {"msg":"A panic occurred at crates/hypervisor/src/ch/inner_hypervisor.rs:768: There should be a match for level\r\n"... Fixes: #8416 Signed-off-by: briwan01 <brian.wang@arm.com>
- Loading branch information