From 9b13d63f282f32fab0f866430d2206e8e48fe950 Mon Sep 17 00:00:00 2001 From: Muminul Islam Date: Thu, 24 Apr 2025 08:59:12 -0700 Subject: [PATCH] build: update mshv crates to the latest release Latest mshv crates contains some IOCTL changes that enhances VM creation and configures the features in correct way. Also adds some features that improves register access. Signed-off-by: Muminul Islam --- Cargo.lock | 12 ++++++------ Cargo.toml | 4 ++-- fuzz/Cargo.toml | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 153fd18dd..d1913a315 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1257,9 +1257,9 @@ checksum = "9bec4598fddb13cc7b528819e697852653252b760f1228b7642679bf2ff2cd07" [[package]] name = "mshv-bindings" -version = "0.3.5" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd4aa8157010f69f380a86a0ba087167b0a01e2e3f2bcca5b576bd26a9206dc8" +checksum = "577073a0abbf515d17bfe96ca2ce49c44a68454d4179e95ce1244e858a9ebd4e" dependencies = [ "libc", "num_enum", @@ -1271,9 +1271,9 @@ dependencies = [ [[package]] name = "mshv-ioctls" -version = "0.3.5" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2bdc151fdc265efbb20f6c74e235dcdbce9a54e695655ac88b4db7385b26319" +checksum = "4bfcb8dfbdc1be2350d929291e88bd872dacdbeb50944ff36a7ede1de1fd3258" dependencies = [ "libc", "mshv-bindings", @@ -2253,7 +2253,7 @@ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "vfio-bindings" version = "0.4.0" -source = "git+https://github.com/rust-vmm/vfio?branch=main#bdbb1cd486484faa23db48c82d51484e2ee43692" +source = "git+https://github.com/rust-vmm/vfio?branch=main#0d6929d5242c9467c41dd41a53babd90ace7c555" dependencies = [ "vmm-sys-util", ] @@ -2261,7 +2261,7 @@ dependencies = [ [[package]] name = "vfio-ioctls" version = "0.2.0" -source = "git+https://github.com/rust-vmm/vfio?branch=main#bdbb1cd486484faa23db48c82d51484e2ee43692" +source = "git+https://github.com/rust-vmm/vfio?branch=main#0d6929d5242c9467c41dd41a53babd90ace7c555" dependencies = [ "byteorder", "kvm-bindings", diff --git a/Cargo.toml b/Cargo.toml index c4f264ad2..3cb55b12e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -107,8 +107,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.5" -mshv-ioctls = "0.3.5" +mshv-bindings = "0.4.0" +mshv-ioctls = "0.4.0" seccompiler = "0.5.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/fuzz/Cargo.toml b/fuzz/Cargo.toml index e229e4eb7..7be9913c6 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -24,7 +24,7 @@ libc = "0.2.155" libfuzzer-sys = "0.4.7" linux-loader = { version = "0.13.0", features = ["bzimage", "elf", "pe"] } micro_http = { git = "https://github.com/firecracker-microvm/micro-http", branch = "main" } -mshv-bindings = "0.3.2" +mshv-bindings = "0.4.0" net_util = { path = "../net_util" } once_cell = "1.19.0" seccompiler = "0.5.0"