build: bump mshv and vfio crates

Bump mshv-ioctls and mshv-bindings to 0.6.0. Most notably, this version
contains fixes and new bindings for arm64 guests.

Bump the vfio crates too so that they point to the latest mshv crates.

Signed-off-by: Anirudh Rayabharam <anrayabh@microsoft.com>
This commit is contained in:
Anirudh Rayabharam 2025-09-09 17:35:27 +00:00 committed by Bo Chen
parent 5737e58f29
commit 86c736fe76
4 changed files with 50 additions and 50 deletions

20
Cargo.lock generated
View file

@ -1225,9 +1225,9 @@ checksum = "c505b3e17ed6b70a7ed2e67fbb2c560ee327353556120d6e72f5232b6880d536"
[[package]] [[package]]
name = "mshv-bindings" name = "mshv-bindings"
version = "0.5.2" version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07f94f542c738f19317363222a7f415588c04cda964882479af41948ac3c3647" checksum = "805cf329582f770f62cc612716a04c14815276ae266b6298375a672d3c5a5184"
dependencies = [ dependencies = [
"libc", "libc",
"num_enum", "num_enum",
@ -1239,9 +1239,9 @@ dependencies = [
[[package]] [[package]]
name = "mshv-ioctls" name = "mshv-ioctls"
version = "0.5.2" version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a6df0848f14eb69505a28673f94acdd830cf248fb57022b21f24e242b702e66" checksum = "aefaab4c067cf5226a917227640d835327b25b71a8d465f815f74f490344e10a"
dependencies = [ dependencies = [
"libc", "libc",
"mshv-bindings", "mshv-bindings",
@ -2228,18 +2228,18 @@ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
[[package]] [[package]]
name = "vfio-bindings" name = "vfio-bindings"
version = "0.5.0" version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b565663f62e091ca47db9a674c8c95c9686a000e82970f391a3cacf6470ff060" checksum = "698c66a4522a31ab407a410a59c9660da036178e4fe3f371825cd6aad7d46837"
dependencies = [ dependencies = [
"vmm-sys-util", "vmm-sys-util",
] ]
[[package]] [[package]]
name = "vfio-ioctls" name = "vfio-ioctls"
version = "0.5.0" version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61316b5e308faa8ed4a87c4130256f765e46de3442eb2e2e619840ef73456738" checksum = "7af7e8d49719333e5eb52209417f26695c9ab2b117a82596a63a44947f97c5d6"
dependencies = [ dependencies = [
"byteorder", "byteorder",
"kvm-bindings", "kvm-bindings",
@ -2256,9 +2256,9 @@ dependencies = [
[[package]] [[package]]
name = "vfio_user" name = "vfio_user"
version = "0.1.0" version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ed81c5ed8224d468a322e923777ed0615cad433fe61177126098af995f89cecf" checksum = "b8db5bc783aad75202ad4cbcdc5e893cff1dd8fa24a1bcdb4de8998d3c4d169a"
dependencies = [ dependencies = [
"bitflags 2.9.3", "bitflags 2.9.3",
"libc", "libc",

View file

@ -110,12 +110,12 @@ kvm-bindings = "0.12.0"
kvm-ioctls = "0.22.0" kvm-ioctls = "0.22.0"
# TODO: update to 0.13.1+ # TODO: update to 0.13.1+
linux-loader = { git = "https://github.com/rust-vmm/linux-loader", branch = "main" } linux-loader = { git = "https://github.com/rust-vmm/linux-loader", branch = "main" }
mshv-bindings = "0.5.2" mshv-bindings = "0.6.0"
mshv-ioctls = "0.5.2" mshv-ioctls = "0.6.0"
seccompiler = "0.5.0" seccompiler = "0.5.0"
vfio-bindings = { version = "0.5.0", default-features = false } vfio-bindings = { version = "0.6.0", default-features = false }
vfio-ioctls = { version = "0.5.0", default-features = false } vfio-ioctls = { version = "0.5.1", default-features = false }
vfio_user = { version = "0.1.0", default-features = false } vfio_user = { version = "0.1.1", default-features = false }
vhost = { version = "0.14.0", default-features = false } vhost = { version = "0.14.0", default-features = false }
vhost-user-backend = { version = "0.20.0", default-features = false } vhost-user-backend = { version = "0.20.0", default-features = false }
virtio-bindings = "0.2.6" virtio-bindings = "0.2.6"

68
fuzz/Cargo.lock generated
View file

@ -121,9 +121,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]] [[package]]
name = "bitflags" name = "bitflags"
version = "2.9.0" version = "2.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd" checksum = "2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394"
[[package]] [[package]]
name = "block" name = "block"
@ -176,18 +176,18 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]] [[package]]
name = "clap" name = "clap"
version = "4.5.13" version = "4.5.47"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0fbb260a053428790f3de475e304ff84cdbc4face759ea7a3e64c1edd938a7fc" checksum = "7eac00902d9d136acd712710d71823fb8ac8004ca445a89e73a41d45aa712931"
dependencies = [ dependencies = [
"clap_builder", "clap_builder",
] ]
[[package]] [[package]]
name = "clap_builder" name = "clap_builder"
version = "4.5.13" version = "4.5.47"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "64b17d7ea74e9f833c7dbf2cbe4fb12ff26783eda4782a8975b72f895c9b4d99" checksum = "2ad9bbf750e73b5884fb8a211a9424a1906c1e156724260fdae972f31d70e1d6"
dependencies = [ dependencies = [
"anstream", "anstream",
"anstyle", "anstyle",
@ -197,9 +197,9 @@ dependencies = [
[[package]] [[package]]
name = "clap_lex" name = "clap_lex"
version = "0.7.2" version = "0.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97" checksum = "b94f61472cee1439c0b966b47e3aca9ae07e45d070759512cd390ea2bebc6675"
[[package]] [[package]]
name = "cloud-hypervisor-fuzz" name = "cloud-hypervisor-fuzz"
@ -300,7 +300,7 @@ dependencies = [
"acpi_tables", "acpi_tables",
"anyhow", "anyhow",
"arch", "arch",
"bitflags 2.9.0", "bitflags 2.9.4",
"byteorder", "byteorder",
"event_monitor", "event_monitor",
"hypervisor", "hypervisor",
@ -344,7 +344,7 @@ version = "4.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "74351c3392ea1ff6cd2628e0042d268ac2371cb613252ff383b6dfa50d22fa79" checksum = "74351c3392ea1ff6cd2628e0042d268ac2371cb613252ff383b6dfa50d22fa79"
dependencies = [ dependencies = [
"bitflags 2.9.0", "bitflags 2.9.4",
"libc", "libc",
] ]
@ -406,7 +406,7 @@ version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "71d66e32caf5dd59f561be0143e413e01d651bd8498eb9aa0be8c482c81c8d31" checksum = "71d66e32caf5dd59f561be0143e413e01d651bd8498eb9aa0be8c482c81c8d31"
dependencies = [ dependencies = [
"bitflags 2.9.0", "bitflags 2.9.4",
"cfg-if", "cfg-if",
"log", "log",
"managed", "managed",
@ -416,9 +416,9 @@ dependencies = [
[[package]] [[package]]
name = "gdbstub_arch" name = "gdbstub_arch"
version = "0.3.1" version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "328a9e9425db13770d0d11de6332a608854266e44c53d12776be7b4aa427e3de" checksum = "22dde0e1b68787036ccedd0b1ff6f953527a0e807e571fbe898975203027278f"
dependencies = [ dependencies = [
"gdbstub", "gdbstub",
"num-traits", "num-traits",
@ -555,7 +555,7 @@ version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b702df98508cb63ad89dd9beb9f6409761b30edca10d48e57941d3f11513a006" checksum = "b702df98508cb63ad89dd9beb9f6409761b30edca10d48e57941d3f11513a006"
dependencies = [ dependencies = [
"bitflags 2.9.0", "bitflags 2.9.4",
"kvm-bindings", "kvm-bindings",
"libc", "libc",
"vmm-sys-util", "vmm-sys-util",
@ -598,8 +598,7 @@ dependencies = [
[[package]] [[package]]
name = "linux-loader" name = "linux-loader"
version = "0.13.0" version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "git+https://github.com/rust-vmm/linux-loader?branch=main#5fdaed87ddafc89d6abf0b50195a12d19133000d"
checksum = "870c3814345f050991f99869417779f6062542bcf4ed81db7a1b926ad1306638"
dependencies = [ dependencies = [
"vm-memory", "vm-memory",
] ]
@ -643,9 +642,9 @@ dependencies = [
[[package]] [[package]]
name = "mshv-bindings" name = "mshv-bindings"
version = "0.5.2" version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07f94f542c738f19317363222a7f415588c04cda964882479af41948ac3c3647" checksum = "805cf329582f770f62cc612716a04c14815276ae266b6298375a672d3c5a5184"
dependencies = [ dependencies = [
"libc", "libc",
"num_enum", "num_enum",
@ -923,9 +922,9 @@ dependencies = [
[[package]] [[package]]
name = "serde_json" name = "serde_json"
version = "1.0.128" version = "1.0.143"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8" checksum = "d401abef1d108fbd9cbaebc3e46611f4b1021f714a0597a71f41ee463f5f4a5a"
dependencies = [ dependencies = [
"itoa", "itoa",
"memchr", "memchr",
@ -987,9 +986,9 @@ dependencies = [
[[package]] [[package]]
name = "smallvec" name = "smallvec"
version = "1.13.2" version = "1.15.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
[[package]] [[package]]
name = "spin" name = "spin"
@ -1110,9 +1109,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
[[package]] [[package]]
name = "uuid" name = "uuid"
version = "1.17.0" version = "1.18.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3cf4199d1e5d15ddd86a694e4d0dffa9c323ce759fea589f00fef9d81cc1931d" checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2"
dependencies = [ dependencies = [
"getrandom 0.3.3", "getrandom 0.3.3",
"js-sys", "js-sys",
@ -1122,18 +1121,18 @@ dependencies = [
[[package]] [[package]]
name = "vfio-bindings" name = "vfio-bindings"
version = "0.5.0" version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b565663f62e091ca47db9a674c8c95c9686a000e82970f391a3cacf6470ff060" checksum = "698c66a4522a31ab407a410a59c9660da036178e4fe3f371825cd6aad7d46837"
dependencies = [ dependencies = [
"vmm-sys-util", "vmm-sys-util",
] ]
[[package]] [[package]]
name = "vfio-ioctls" name = "vfio-ioctls"
version = "0.5.0" version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61316b5e308faa8ed4a87c4130256f765e46de3442eb2e2e619840ef73456738" checksum = "7af7e8d49719333e5eb52209417f26695c9ab2b117a82596a63a44947f97c5d6"
dependencies = [ dependencies = [
"byteorder", "byteorder",
"kvm-bindings", "kvm-bindings",
@ -1148,11 +1147,11 @@ dependencies = [
[[package]] [[package]]
name = "vfio_user" name = "vfio_user"
version = "0.1.0" version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ed81c5ed8224d468a322e923777ed0615cad433fe61177126098af995f89cecf" checksum = "b8db5bc783aad75202ad4cbcdc5e893cff1dd8fa24a1bcdb4de8998d3c4d169a"
dependencies = [ dependencies = [
"bitflags 2.9.0", "bitflags 2.9.4",
"libc", "libc",
"log", "log",
"serde", "serde",
@ -1170,7 +1169,7 @@ version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a4dcad85a129d97d5d4b2f3c47a4affdeedd76bdcd02094bcb5d9b76cac2d05" checksum = "2a4dcad85a129d97d5d4b2f3c47a4affdeedd76bdcd02094bcb5d9b76cac2d05"
dependencies = [ dependencies = [
"bitflags 2.9.0", "bitflags 2.9.4",
"libc", "libc",
"uuid", "uuid",
"vm-memory", "vm-memory",
@ -1242,6 +1241,7 @@ dependencies = [
"serde", "serde",
"thiserror 2.0.12", "thiserror 2.0.12",
"vfio-ioctls", "vfio-ioctls",
"vm-memory",
"vmm-sys-util", "vmm-sys-util",
] ]
@ -1288,7 +1288,7 @@ dependencies = [
"acpi_tables", "acpi_tables",
"anyhow", "anyhow",
"arch", "arch",
"bitflags 2.9.0", "bitflags 2.9.4",
"block", "block",
"cfg-if", "cfg-if",
"clap", "clap",
@ -1524,7 +1524,7 @@ version = "0.39.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1" checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
dependencies = [ dependencies = [
"bitflags 2.9.0", "bitflags 2.9.4",
] ]
[[package]] [[package]]

View file

@ -30,7 +30,7 @@ linux-loader = { git = "https://github.com/rust-vmm/linux-loader", branch = "mai
"pe", "pe",
] } ] }
micro_http = { git = "https://github.com/firecracker-microvm/micro-http", branch = "main" } micro_http = { git = "https://github.com/firecracker-microvm/micro-http", branch = "main" }
mshv-bindings = "0.5.2" mshv-bindings = "0.6.0"
net_util = { path = "../net_util" } net_util = { path = "../net_util" }
seccompiler = "0.5.0" seccompiler = "0.5.0"
virtio-devices = { path = "../virtio-devices" } virtio-devices = { path = "../virtio-devices" }