Skip to content

Conversation

@ihexon
Copy link
Owner

@ihexon ihexon commented Oct 18, 2025

Major improvements:

  • Rename Stubber to LibkrunVM for better semantics
  • Add vmState state machine to track VM lifecycle (new/configured/running/stopped/closed)
  • Introduce cstring/cstringArray types for safe C memory management with automatic cleanup
  • Add mutex for thread-safe state transitions
  • Enhance documentation with detailed godoc comments
  • Improve error messages with more context

@ihexon ihexon merged commit 5ed0afd into main Oct 18, 2025
2 checks passed
@ihexon ihexon changed the title refactor(libkrun): improve VM lifecycle management and memory safety refactor: improve VM lifecycle/SSH management and memory safety Oct 18, 2025
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.

2 participants