You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Updating hyperlight-wasm crate features so mshv3 is the default (instead of mshv2)
Signed-off-by: Mark Rossett <[email protected]>
* update hyperlight dependencies to 0.8.0
Signed-off-by: Ludvig Liljenberg <[email protected]>
* [host] migrate to snapshot-based sandbox API
Replace transition-based sandbox evolution with direct snapshot/restore API:
- Remove EvolvableSandbox/DevolvableSandbox trait usage
- Replace transition callbacks with direct method calls
- Add snapshot/restore methods to LoadedWasmSandbox
- Store initial snapshots in WasmSandbox for efficient unloading
- Export Snapshot type in public API
This provides more direct control over sandbox state management
and enables features like checkpoint/restore.
Signed-off-by: Ludvig Liljenberg <[email protected]>
* [guest] improve WASM runtime memory management
- Reuse wasmtime Store and Instance across guest function calls instead
of creating new one per call.
- Establish memory contract between host and guest.
- Guest functions takes ownership of input parameters
- Guest transfer ownership of return values
- Host functions parameters are borrowed from guest
- Host function return values are owned by guest and guest must free them.
- Component: Add post_return calls for proper WASM function cleanup
- Fix ABI mismatch in parameter of guest_dispatch_function
Signed-off-by: Ludvig Liljenberg <[email protected]>
* Update wasm files to account for new memory contracts
Signed-off-by: Ludvig Liljenberg <[email protected]>
* Modify justfile such that build-wasmtime-runtime is done last
...and so "build" recipe doens't build runtime. Seeems to fix some local build issues
Signed-off-by: Ludvig Liljenberg <[email protected]>
---------
Signed-off-by: Mark Rossett <[email protected]>
Signed-off-by: Ludvig Liljenberg <[email protected]>
Co-authored-by: Mark Rossett <[email protected]>
0 commit comments