Commit 92d003e
feat: add
Adds top-level `vz run <cmd>` that reads `vz.json`, boots a Linux VM via
the daemon, mounts the project directory via VirtioFS, and executes
commands inside the VM. The VM stays alive between runs (22ms warm exec)
until `vz stop`.
Stack changes:
- Proto: VolumeMount message + fields on CreateSandboxRequest
- Runtime contract: guest_path on StackVolumeMount
- Daemon: explicit mount support in sandbox creation, container bind mounts
- VM boot: kernel cmdline generation for mount target paths
- OCI bundle: skip host-side path creation for guest-only paths
- Release: build + sign + notarize vz-runtimed
- Install script: downloads vz-runtimed, version tracking, upgrade support
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>vz run / vz stop for gpu-cli-style dev environments1 parent 8271070 commit 92d003e
File tree
25 files changed
+1016
-62
lines changed- .github/workflows
- crates
- vz-api/src/daemon_bridge
- vz-cli
- src
- commands
- tests
- vz-image/src
- vz-oci-macos/src/runtime
- vz-oci/src
- vz-runtime-contract/src/types
- vz-runtime-proto
- proto
- src/generated
- vz-runtimed-client/src
- vz-runtimed/src/grpc
- handlers
- sandbox
- vz-stack/src/executor
- examples/rust-sandbox
- scripts
25 files changed
+1016
-62
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
106 | 122 | | |
107 | 123 | | |
108 | 124 | | |
109 | 125 | | |
110 | 126 | | |
111 | | - | |
| 127 | + | |
112 | 128 | | |
113 | 129 | | |
114 | 130 | | |
115 | 131 | | |
116 | 132 | | |
| 133 | + | |
117 | 134 | | |
118 | | - | |
119 | 135 | | |
120 | 136 | | |
121 | 137 | | |
122 | 138 | | |
123 | 139 | | |
124 | | - | |
125 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
126 | 151 | | |
127 | 152 | | |
128 | 153 | | |
| |||
136 | 161 | | |
137 | 162 | | |
138 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
139 | 168 | | |
140 | 169 | | |
141 | 170 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments