feat(vm): move supervisor outside guest boundary - #2945
Draft
drew wants to merge 1 commit into
Draft
Conversation
|
🌿 Preview your docs: https://nvidia-preview-pr-2945.docs.buildwithfern.com/openshell |
drew
force-pushed
the
codex/vm-host-supervisor
branch
from
August 26, 2026 07:08
4a8f295 to
532fa1b
Compare
drew
changed the base branch from
codex/rfc-0012-impl-base
to
codex/1737-rfc12-supervisor-primitives
August 26, 2026 07:09
Signed-off-by: Drew Newberry <385+drew@users.noreply.github.com>
drew
force-pushed
the
codex/vm-host-supervisor
branch
from
August 26, 2026 08:50
532fa1b to
02e80eb
Compare
drew
force-pushed
the
codex/vm-host-supervisor
branch
from
August 26, 2026 19:41
7e10ae3 to
02e80eb
Compare
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Use the VM backend as the prototype implementation of RFC 0012 directly above
the backend contract and supervisor primitives stack. The libkrun VM supervisor
moves out of the guest boundary and onto the host while retaining the current
custom guest kernel; the guest runs only an authenticated, portable
process-supervision leaf.
Stack:
codex/1737-rfc12-contract(#2941) →codex/1737-rfc12-supervisor-primitives(#2942) → this PR.The Docker supervisor-owned creation proof now continues independently in
#2965, stacked on this PR. Existing production Docker, Kubernetes, and Podman
topologies remain on their legacy orchestration paths.
Related Issue
Part of #1737. Builds on RFC #2048 and the RFC 0012 contract/primitives stack.
Changes
openshell-isolation-vmas the reusable authenticated host/guesttransport and protocol crate.
openshell-sandboxas the host-side logical supervisor and restrict theguest to workload lifecycle operations.
or changing other compute drivers.
relay registration outside the guest boundary.
enforcement-confirmation operations.
ipandnftexecution.
documentation, and gateway configuration reference.
Testing
mise run pre-commitpassescargo check -p openshell-isolation-vm -p openshell-sandbox -p openshell-driver-vm --all-targetscargo test -p openshell-isolation-vm(6 passed)cargo test -p openshell-driver-vm --lib(136 passed)OPENSHELL_E2E_VM_TEST=smoke e2e/rust/e2e-vm.sh(passed in 92 seconds)
Checklist