Skip to content

Commit 3537f04

Browse files
committed
perf: pin hyperlight-host to whp-warm-start with no-surrogate mode
Pin to rev 3ed18580 for reproducible builds. Enables whp-no-surrogate for VirtualAlloc allocation, direct WHvMapGpaRange, and demand-zero scratch reset. Signed-off-by: danbugs <danilochiarlone@gmail.com>
1 parent 8a02342 commit 3537f04

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

host/Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

host/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ name = "pyhl"
2727
path = "src/bin/pyhl.rs"
2828

2929
[dependencies]
30-
# hyperlight-dev/hyperlight#1373 — Ludvig's Snapshot::to_file/from_file
31-
# Uses PAGE_READONLY mapping (no host commit charge per VM).
32-
hyperlight-host = { git = "https://github.com/hyperlight-dev/hyperlight", branch = "disk_snapshot_copy", features = ["executable_heap", "hw-interrupts"] }
30+
# danbugs/hyperlight perf/whp-warm-start — snapshot file support + WHP warm-start optimizations.
31+
hyperlight-host = { git = "https://github.com/danbugs/hyperlight", rev = "3ed18580", features = ["executable_heap", "hw-interrupts", "whp-no-surrogate"] }
3332
clap = { version = "4", features = ["derive", "env"] }
3433
anyhow = "1"
3534
memmap2 = "0.9"

0 commit comments

Comments
 (0)