Skip to content

Commit a45ef00

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

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
@@ -74,8 +74,8 @@ kvm-bindings = { version = "0.12", features = ["fam-wrappers"], optional = true
7474
kvm-ioctls = { version = "0.22", optional = true }
7575
mshv-bindings2 = { package="mshv-bindings", version = "=0.2.1", optional = true }
7676
mshv-ioctls2 = { package="mshv-ioctls", version = "=0.2.1", optional = true}
77-
mshv-bindings3 = { package="mshv-bindings", version = "=0.3.2", optional = true }
78-
mshv-ioctls3 = { package="mshv-ioctls", version = "=0.3.2", optional = true}
77+
mshv-bindings3 = { package="mshv-bindings", version = "0.5.1", optional = true }
78+
mshv-ioctls3 = { package="mshv-ioctls", version = "0.5.1", optional = true}
7979

8080
[dev-dependencies]
8181
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
@@ -343,7 +343,7 @@ impl HypervLinuxDriver {
343343

344344
let vm_fd = mshv.create_vm_with_args(&pr)?;
345345
let features: hv_partition_synthetic_processor_features = Default::default();
346-
vm_fd.hvcall_set_partition_property(
346+
vm_fd.set_partition_property(
347347
hv_partition_property_code_HV_PARTITION_PROPERTY_SYNTHETIC_PROC_FEATURES,
348348
unsafe { features.as_uint64[0] },
349349
)?;

0 commit comments

Comments
 (0)