Skip to content

fix: harden VM readiness semantics and lifecycle cleanup#7

Merged
xsoheilalizadeh merged 4 commits intomainfrom
fix/state-readiness-hardening
Mar 14, 2026
Merged

fix: harden VM readiness semantics and lifecycle cleanup#7
xsoheilalizadeh merged 4 commits intomainfrom
fix/state-readiness-hardening

Conversation

@xsoheilalizadeh
Copy link
Copy Markdown
Contributor

Summary

  • separate hypervisor execution state from guest readiness with Running and Ready
  • add incremental serial-log readiness caching and use it in Apple VZ and Cloud Hypervisor state queries
  • harden Cloud Hypervisor shutdown and sidecar cleanup paths, including reaping virtiofsd children consistently
  • split the VM manager module by responsibility and update docs/CI to reflect the current verification surface

Verification

  • cargo fmt
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo test --all-targets

Notes

  • real hypervisor lifecycle tests remain opt-in because they still require signed binaries or external kernel/initramfs assets
  • non-ignored Apple VZ FFI smoke tests are now part of normal macOS CI

@xsoheilalizadeh xsoheilalizadeh merged commit 3f863a3 into main Mar 14, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant