Skip to content

Commit 2fb20c0

Browse files
committed
Update mshv crates to v0.5.1
Signed-off-by: Simon Davies <[email protected]>
1 parent c454b0b commit 2fb20c0

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

Cargo.lock

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

src/hyperlight_host/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ kvm-bindings = { version = "0.12", features = ["fam-wrappers"], optional = true
7373
kvm-ioctls = { version = "0.22", optional = true }
7474
mshv-bindings2 = { package="mshv-bindings", version = "=0.2.1", optional = true }
7575
mshv-ioctls2 = { package="mshv-ioctls", version = "=0.2.1", optional = true}
76-
mshv-bindings3 = { package="mshv-bindings", version = "=0.3.2", optional = true }
77-
mshv-ioctls3 = { package="mshv-ioctls", version = "=0.3.2", optional = true}
76+
mshv-bindings3 = { package="mshv-bindings", version = "0.5.1", optional = true }
77+
mshv-ioctls3 = { package="mshv-ioctls", version = "0.5.1", optional = true}
7878

7979
[dev-dependencies]
8080
uuid = { version = "1.17.0", features = ["v4"] }

src/hyperlight_host/src/hypervisor/hyperv_linux.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ impl HypervLinuxDriver {
329329

330330
let vm_fd = mshv.create_vm_with_args(&pr)?;
331331
let features: hv_partition_synthetic_processor_features = Default::default();
332-
vm_fd.hvcall_set_partition_property(
332+
vm_fd.set_partition_property(
333333
hv_partition_property_code_HV_PARTITION_PROPERTY_SYNTHETIC_PROC_FEATURES,
334334
unsafe { features.as_uint64[0] },
335335
)?;

0 commit comments

Comments
 (0)