From 7db3002e1db68ebd46a4a65fafbdee330d4b6edc Mon Sep 17 00:00:00 2001 From: Jinank Jain Date: Wed, 5 Feb 2025 23:19:29 +0530 Subject: [PATCH] build: Bump mshv crate to latest version Move mshv crates from v0.3.2 to v0.3.3 Signed-off-by: Jinank Jain --- Cargo.lock | 8 ++++---- Cargo.toml | 4 ++-- hypervisor/src/mshv/mod.rs | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f4418d733..04c40ea33 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1255,9 +1255,9 @@ checksum = "9bec4598fddb13cc7b528819e697852653252b760f1228b7642679bf2ff2cd07" [[package]] name = "mshv-bindings" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e0cb5031f3243a7459b7c13d960d25420980874eebda816db24ce6077e21d43" +checksum = "30f83f36cb864d90b62a4576556cef3319603d02f3aca58a87694e1e0694bdda" dependencies = [ "libc", "num_enum", @@ -1269,9 +1269,9 @@ dependencies = [ [[package]] name = "mshv-ioctls" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89abe853221fa6f14ad4066affb9abda241a03d65622887d5794e1422d0bd75a" +checksum = "7cd6d081aa1eb9916b8f2ac89a6f22adaaa9b5308c71ff5f14332143dc52aaf6" dependencies = [ "libc", "mshv-bindings", diff --git a/Cargo.toml b/Cargo.toml index 6afba927f..052ebebd4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -106,8 +106,8 @@ acpi_tables = { git = "https://github.com/rust-vmm/acpi_tables", branch = "main" kvm-bindings = "0.10.0" kvm-ioctls = "0.19.1" linux-loader = "0.13.0" -mshv-bindings = "0.3.2" -mshv-ioctls = "0.3.2" +mshv-bindings = "0.3.3" +mshv-ioctls = "0.3.3" seccompiler = "0.4.0" vfio-bindings = { git = "https://github.com/rust-vmm/vfio", branch = "main" } vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false } diff --git a/hypervisor/src/mshv/mod.rs b/hypervisor/src/mshv/mod.rs index 856349bdf..bd7014783 100644 --- a/hypervisor/src/mshv/mod.rs +++ b/hypervisor/src/mshv/mod.rs @@ -1868,7 +1868,7 @@ impl vm::Vm for MshvVm { fn create_passthrough_device(&self) -> vm::Result { let mut vfio_dev = mshv_create_device { - type_: mshv_device_type_MSHV_DEV_TYPE_VFIO, + type_: MSHV_DEV_TYPE_VFIO, fd: 0, flags: 0, };