feat(axvisor): 添加 VM health 查询路径
Summary
- 新增 bounded VM health 模型,覆盖 ConfirmedCrash、RunError、EntryFailure、GuestShutdown、SuspectHang、Idle 和 Running。
- 在 AxVisor vCPU loop 中记录 host-observed health 事件,并将 pvpanic cooperative report 优先映射为 ConfirmedCrash。
- 新增
vm health <VM_ID>查询命令,支持--format json。 - 补充 AxVisor 对
axvmconfig的直接依赖,修复 PR1 FDT 代码中的EmulatedDeviceType引用路径。
Validation
-
cargo fmt --checkpassed -
cargo build -p axvisor --target aarch64-unknown-none-softfloat -Z build-std=core,alloc --releasepassed -
cargo clippy -p axvisor --target aarch64-unknown-none-softfloat -Z build-std=core,alloc --releasecompleted with existing warnings -
cargo clippy ... -- -D warningsblocked by pre-existingarm_vcpuwarnings -
cargo test -p axvisor health -- --nocaptureblocked by AxVisor no-std bin host test harness link error:undefined symbol: main
Notes
-
TODO-2026-05-12-001is markedIn Progress, notDone; final QEMU/integration validation remains for PR3.