Skip to content

Commit d2bf975

Browse files
committed
Update mshv crates for Azure Linux to v0.6.1
Signed-off-by: Simon Davies <[email protected]>
1 parent 08d8d8c commit d2bf975

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
@@ -78,8 +78,8 @@ kvm-bindings = { version = "0.14", features = ["fam-wrappers"], optional = true
7878
kvm-ioctls = { version = "0.24", optional = true }
7979
mshv-bindings2 = { package="mshv-bindings", version = "=0.2.1", optional = true }
8080
mshv-ioctls2 = { package="mshv-ioctls", version = "=0.2.1", optional = true}
81-
mshv-bindings3 = { package="mshv-bindings", version = "=0.3.2", optional = true }
82-
mshv-ioctls3 = { package="mshv-ioctls", version = "=0.3.2", optional = true}
81+
mshv-bindings3 = { package="mshv-bindings", version = "0.6.1", optional = true }
82+
mshv-ioctls3 = { package="mshv-ioctls", version = "0.6.1", optional = true}
8383

8484
[dev-dependencies]
8585
uuid = { version = "1.18.1", features = ["v4"] }

src/hyperlight_host/src/hypervisor/hyperv_linux.rs

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

364364
let vm_fd = mshv.create_vm_with_args(&pr)?;
365365
let features: hv_partition_synthetic_processor_features = Default::default();
366-
vm_fd.hvcall_set_partition_property(
366+
vm_fd.set_partition_property(
367367
hv_partition_property_code_HV_PARTITION_PROPERTY_SYNTHETIC_PROC_FEATURES,
368368
unsafe { features.as_uint64[0] },
369369
)?;

0 commit comments

Comments
 (0)