Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • proj5-Kmon proj5-Kmon
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • 蒙面好汉睡大觉
  • proj5-Kmonproj5-Kmon
  • Merge requests
  • !3

feat(axvisor): 添加 VM health 查询路径

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged 蒙面好汉睡大觉 requested to merge work/aarch64-vm-health into main May 12, 2026
  • Overview 0
  • Commits 3
  • Pipelines 0
  • Changes 8

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 --check passed
  • cargo build -p axvisor --target aarch64-unknown-none-softfloat -Z build-std=core,alloc --release passed
  • cargo clippy -p axvisor --target aarch64-unknown-none-softfloat -Z build-std=core,alloc --release completed with existing warnings
  • cargo clippy ... -- -D warnings blocked by pre-existing arm_vcpu warnings
  • cargo test -p axvisor health -- --nocapture blocked by AxVisor no-std bin host test harness link error: undefined symbol: main

Notes

  • TODO-2026-05-12-001 is marked In Progress, not Done; final QEMU/integration validation remains for PR3.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/aarch64-vm-health