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
7 changes: 4 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.9` (commit `ce58cf8`, pinned in [`driver/UPSTREAM.env`](driver/UPSTREAM.env)) and
NVIDIA/OpenShell `main` at commit `f16795b` (after `v0.1.9`; not a release; 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,9 @@ 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.9`
release, so run a `v0.1.9` gateway. Other releases have not been checked. `install.sh` prints
from a revision compatible with the one in `driver/UPSTREAM.env`, currently `main`
at `f16795b`, which is not a release: build the gateway from that commit. Released gateways,
`v0.1.9` included, have not been checked against it. `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=ce58cf8e9b953281352d98a637e41616295b1318
OPENSHELL_TAG=v0.1.9
OPENSHELL_COMMIT=f16795bc76b13fcc35d8b0d2b49cfc788c701ef9
OPENSHELL_TAG=

# 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
Loading