Skip to content

Commit f7c08dd

Browse files
committed
Update uhyve-interface to include Snapshot Hypercall
1 parent a393fff commit f7c08dd

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hermit-kernel"
3-
version = "0.13.0"
3+
version = "0.13.2"
44
license = "MIT OR Apache-2.0"
55
readme = "README.md"
66
keywords = ["unikernel", "libos"]
@@ -380,7 +380,7 @@ take-static = "0.1"
380380
talc = { version = "5" }
381381
thiserror = { version = "2", default-features = false }
382382
time = { version = "0.3", default-features = false }
383-
uhyve-interface = { version = "0.3", optional = true }
383+
uhyve-interface = {git = "https://github.com/hermit-os/uhyve.git", branch = "uhyve-if-snapshot", optional = true }
384384
virtio = { package = "virtio-spec", version = "0.3", optional = true, features = ["alloc", "mmio", "nightly"] }
385385
volatile = "0.6"
386386
zeroize = "1.9.0"

src/uhyve.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ fn hypercall_data(hypercall: &Hypercall<'_>) -> u64 {
5050
Hypercall::FileWrite(data) => data_addr(*data),
5151
Hypercall::SerialWriteBuffer(data) => data_addr(*data),
5252
Hypercall::SerialWriteByte(byte) => u64::from(*byte),
53+
Hypercall::Snapshot(data) => data_addr(*data),
5354
h => todo!("unimplemented hypercall {h:?}"),
5455
}
5556
}

0 commit comments

Comments
 (0)