diff --git a/README.md b/README.md index a5dafa3..a7d71b1 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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. diff --git a/driver/UPSTREAM.env b/driver/UPSTREAM.env index 3e5142f..e154be3 100644 --- a/driver/UPSTREAM.env +++ b/driver/UPSTREAM.env @@ -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 diff --git a/vendor/openshell/Cargo.lock b/vendor/openshell/Cargo.lock index 4945aaa..e6aab90 100644 --- a/vendor/openshell/Cargo.lock +++ b/vendor/openshell/Cargo.lock @@ -2332,7 +2332,7 @@ checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" [[package]] name = "openshell-core" version = "0.0.0" -source = "git+https://github.com/NVIDIA/OpenShell?rev=5d25211b25a8fc887e8d5c606d57d6ab22f1d76c#5d25211b25a8fc887e8d5c606d57d6ab22f1d76c" +source = "git+https://github.com/NVIDIA/OpenShell?rev=f3d976590d3eb1379690a2abaf0f0e26c21d487d#f3d976590d3eb1379690a2abaf0f0e26c21d487d" dependencies = [ "async-trait", "base64 0.22.1", @@ -2373,7 +2373,7 @@ dependencies = [ [[package]] name = "openshell-crypto" version = "0.0.0" -source = "git+https://github.com/NVIDIA/OpenShell?rev=5d25211b25a8fc887e8d5c606d57d6ab22f1d76c#5d25211b25a8fc887e8d5c606d57d6ab22f1d76c" +source = "git+https://github.com/NVIDIA/OpenShell?rev=f3d976590d3eb1379690a2abaf0f0e26c21d487d#f3d976590d3eb1379690a2abaf0f0e26c21d487d" dependencies = [ "aws-lc-rs", "jsonwebtoken", @@ -2440,7 +2440,7 @@ dependencies = [ [[package]] name = "openshell-extension-core" version = "0.0.0" -source = "git+https://github.com/NVIDIA/OpenShell?rev=5d25211b25a8fc887e8d5c606d57d6ab22f1d76c#5d25211b25a8fc887e8d5c606d57d6ab22f1d76c" +source = "git+https://github.com/NVIDIA/OpenShell?rev=f3d976590d3eb1379690a2abaf0f0e26c21d487d#f3d976590d3eb1379690a2abaf0f0e26c21d487d" dependencies = [ "hyper-util", "serde", @@ -2453,7 +2453,7 @@ dependencies = [ [[package]] name = "openshell-isolation-interface" version = "0.0.0" -source = "git+https://github.com/NVIDIA/OpenShell?rev=5d25211b25a8fc887e8d5c606d57d6ab22f1d76c#5d25211b25a8fc887e8d5c606d57d6ab22f1d76c" +source = "git+https://github.com/NVIDIA/OpenShell?rev=f3d976590d3eb1379690a2abaf0f0e26c21d487d#f3d976590d3eb1379690a2abaf0f0e26c21d487d" dependencies = [ "openshell-core", "serde", @@ -2465,7 +2465,7 @@ dependencies = [ [[package]] name = "openshell-ocsf" version = "0.0.0" -source = "git+https://github.com/NVIDIA/OpenShell?rev=5d25211b25a8fc887e8d5c606d57d6ab22f1d76c#5d25211b25a8fc887e8d5c606d57d6ab22f1d76c" +source = "git+https://github.com/NVIDIA/OpenShell?rev=f3d976590d3eb1379690a2abaf0f0e26c21d487d#f3d976590d3eb1379690a2abaf0f0e26c21d487d" dependencies = [ "chrono", "serde", @@ -2479,7 +2479,7 @@ dependencies = [ [[package]] name = "openshell-otel" version = "0.0.0" -source = "git+https://github.com/NVIDIA/OpenShell?rev=5d25211b25a8fc887e8d5c606d57d6ab22f1d76c#5d25211b25a8fc887e8d5c606d57d6ab22f1d76c" +source = "git+https://github.com/NVIDIA/OpenShell?rev=f3d976590d3eb1379690a2abaf0f0e26c21d487d#f3d976590d3eb1379690a2abaf0f0e26c21d487d" dependencies = [ "async-trait", "bytes", @@ -2511,7 +2511,7 @@ dependencies = [ [[package]] name = "openshell-otel-test-support" version = "0.0.0" -source = "git+https://github.com/NVIDIA/OpenShell?rev=5d25211b25a8fc887e8d5c606d57d6ab22f1d76c#5d25211b25a8fc887e8d5c606d57d6ab22f1d76c" +source = "git+https://github.com/NVIDIA/OpenShell?rev=f3d976590d3eb1379690a2abaf0f0e26c21d487d#f3d976590d3eb1379690a2abaf0f0e26c21d487d" dependencies = [ "bytes", "http", @@ -2535,7 +2535,7 @@ dependencies = [ [[package]] name = "openshell-policy-schema" version = "0.0.0" -source = "git+https://github.com/NVIDIA/OpenShell?rev=5d25211b25a8fc887e8d5c606d57d6ab22f1d76c#5d25211b25a8fc887e8d5c606d57d6ab22f1d76c" +source = "git+https://github.com/NVIDIA/OpenShell?rev=f3d976590d3eb1379690a2abaf0f0e26c21d487d#f3d976590d3eb1379690a2abaf0f0e26c21d487d" dependencies = [ "miette", "noyalib", @@ -2548,7 +2548,7 @@ dependencies = [ [[package]] name = "openshell-sandbox-backend" version = "0.0.0" -source = "git+https://github.com/NVIDIA/OpenShell?rev=5d25211b25a8fc887e8d5c606d57d6ab22f1d76c#5d25211b25a8fc887e8d5c606d57d6ab22f1d76c" +source = "git+https://github.com/NVIDIA/OpenShell?rev=f3d976590d3eb1379690a2abaf0f0e26c21d487d#f3d976590d3eb1379690a2abaf0f0e26c21d487d" dependencies = [ "async-trait", "bytes", diff --git a/vendor/openshell/Cargo.toml b/vendor/openshell/Cargo.toml index 16d997c..5d4543f 100644 --- a/vendor/openshell/Cargo.toml +++ b/vendor/openshell/Cargo.toml @@ -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"] }