Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The guest has no network device.
## The vendored driver

`vendor/openshell` holds one crate: OpenShell's VM driver (`openshell-driver-vm`), taken from
NVIDIA/OpenShell release `v0.1.7` (commit `5d25211`, pinned in [`driver/UPSTREAM.env`](driver/UPSTREAM.env)) and
NVIDIA/OpenShell release `v0.1.8` (commit `f3d9765`, pinned in [`driver/UPSTREAM.env`](driver/UPSTREAM.env)) and
trimmed. It is its own cargo workspace. The other OpenShell crates it uses (`openshell-core`
and friends) are **git dependencies on the same commit**, not copies, so building needs
network access to GitHub. The changes from upstream are listed in
Expand All @@ -61,8 +61,8 @@ pinned commit when a release is made. `mise run driver:check-pin` fails if the r
### Compatibility

The supervisor protocol is not stable across OpenShell revisions, so the gateway must come
from a revision compatible with the one in `driver/UPSTREAM.env`, currently the `v0.1.7`
release, so run a `v0.1.7` gateway. Other releases have not been checked. `install.sh` prints
from a revision compatible with the one in `driver/UPSTREAM.env`, currently the `v0.1.8`
release, so run a `v0.1.8` gateway. Other releases have not been checked. `install.sh` prints
the commit the installed driver was built from and the gateway's reported version, and leaves
the comparison to you.

Expand Down
4 changes: 2 additions & 2 deletions driver/UPSTREAM.env
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
# driver crate from it (see crates/openshell-driver-vm/README.md), then change the commit here
# and the `rev` in vendor/openshell/Cargo.toml.
OPENSHELL_REPO=https://github.com/NVIDIA/OpenShell
OPENSHELL_COMMIT=5d25211b25a8fc887e8d5c606d57d6ab22f1d76c
OPENSHELL_TAG=v0.1.7
OPENSHELL_COMMIT=f3d976590d3eb1379690a2abaf0f0e26c21d487d
OPENSHELL_TAG=v0.1.8

# Optional: build the embedded runtime (host supervisor, guest sandbox, guest init) from
# another revision than the pin above, to try an OpenShell change against an unchanged
Expand Down
18 changes: 9 additions & 9 deletions vendor/openshell/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions vendor/openshell/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ repository = "https://github.com/NVIDIA/OpenShell"
# The rest of OpenShell, from the revision driver/UPSTREAM.env names (keep the two in sync:
# `mise run driver:check-pin` checks). The host supervisor and guest binaries the driver
# embeds are built from that revision too.
openshell-core = { git = "https://github.com/NVIDIA/OpenShell", rev = "5d25211b25a8fc887e8d5c606d57d6ab22f1d76c", default-features = false }
openshell-isolation-interface = { git = "https://github.com/NVIDIA/OpenShell", rev = "5d25211b25a8fc887e8d5c606d57d6ab22f1d76c" }
openshell-sandbox-backend = { git = "https://github.com/NVIDIA/OpenShell", rev = "5d25211b25a8fc887e8d5c606d57d6ab22f1d76c" }
openshell-otel = { git = "https://github.com/NVIDIA/OpenShell", rev = "5d25211b25a8fc887e8d5c606d57d6ab22f1d76c" }
openshell-otel-test-support = { git = "https://github.com/NVIDIA/OpenShell", rev = "5d25211b25a8fc887e8d5c606d57d6ab22f1d76c" }
openshell-crypto = { git = "https://github.com/NVIDIA/OpenShell", rev = "5d25211b25a8fc887e8d5c606d57d6ab22f1d76c", default-features = false, features = ["aws-lc"] }
openshell-core = { git = "https://github.com/NVIDIA/OpenShell", rev = "f3d976590d3eb1379690a2abaf0f0e26c21d487d", default-features = false }
openshell-isolation-interface = { git = "https://github.com/NVIDIA/OpenShell", rev = "f3d976590d3eb1379690a2abaf0f0e26c21d487d" }
openshell-sandbox-backend = { git = "https://github.com/NVIDIA/OpenShell", rev = "f3d976590d3eb1379690a2abaf0f0e26c21d487d" }
openshell-otel = { git = "https://github.com/NVIDIA/OpenShell", rev = "f3d976590d3eb1379690a2abaf0f0e26c21d487d" }
openshell-otel-test-support = { git = "https://github.com/NVIDIA/OpenShell", rev = "f3d976590d3eb1379690a2abaf0f0e26c21d487d" }
openshell-crypto = { git = "https://github.com/NVIDIA/OpenShell", rev = "f3d976590d3eb1379690a2abaf0f0e26c21d487d", default-features = false, features = ["aws-lc"] }
# Async runtime
tokio = { version = "1.53.3", features = ["full"] }

Expand Down
Loading