Commit eeb2ba4
committed
feat: adapt to hyperlight-host 0.16.0 from crates.io
Switch from git dep (danbugs/hyperlight) to crates.io hyperlight-host
0.16.0. Key API changes:
- Snapshot format: to_file/from_file_unchecked -> OCI save/load
- snapshot.hls (single file) -> snapshot/ (OCI dir)
- map_file_cow: 3-arg -> 2-arg (label param removed)
- restore_preserving_file_mappings removed; re-map initrd after restore
- Remove sparsify_snapshot (OCI format handles storage)
- Remove whp-no-surrogate feature (now runtime env var)
- Add max_surrogates API to configure_surrogates/InstallOptions/Runtime
- Reduce default heap from 2560 MiB to 1280 MiB
Signed-off-by: danbugs <danilochiarlone@gmail.com>1 parent 0350d64 commit eeb2ba4
10 files changed
Lines changed: 392 additions & 325 deletions
File tree
- .github/workflows
- host
- examples
- src
- bin
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
291 | | - | |
292 | | - | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
507 | 490 | | |
508 | 491 | | |
509 | 492 | | |
| |||
0 commit comments