arch(minvmd-host-daemon): minvmd macOS VM provider host daemon - #317
Conversation
Architecture record for the minvmd macOS VM provider host daemon (#311). Translated from the plan document: process model (parent/child split), socket model (libkrun-owned UDS, no host relay), lifecycle state machine, platform gating, and auto-spawn from minimal2. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis pull request introduces the complete architecture specification for Changesminvmd macOS Host Daemon Specification
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related issues
Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
sdd-validate — Architecture boundaryBoundary: Architecture
All architecture gates passed. No Blocker, Warning, or Info findings.
|
Architecture record for the
minvmdmacOS VM provider host daemon (#311).Adds
docs/specs/01-spec-minvmd-host-daemon/architecture.mdcapturing:krun_start_enter's diverging semantics; parent supervises lifecycle, child enters the VMM.krun_add_vsock_port2(listen=true)— no userspace byte relay inminvmd.next_statefunction, atomicstate.tomlpersistence,fd-lockconcurrency guard, RAII recovery.#[cfg(target_os = "macos")]for libkrun code; Linux stub keeps CI green.minimal2spawnsminvmd run --detachon macOS when no daemon is running.minimaldon macOS (not viable — requires Linux namespaces).Translated from the plan document on the tracking issue (issue #311 carries
plan:provided).Next step: Review and merge this PR to advance the tracking issue to phase B (Unit decomposition).
Closes #316
Summary by CodeRabbit