build: Use released vfio & vhost crates

Replace the git dependencies with newly released versions

Signed-off-by: Rob Bradford <rbradford@meta.com>
This commit is contained in:
Rob Bradford
2026-03-25 05:33:14 -07:00
parent 80ce696006
commit 11d8ac48cb
3 changed files with 32 additions and 23 deletions

25
Cargo.lock generated
View File

@@ -2277,16 +2277,18 @@ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
[[package]] [[package]]
name = "vfio-bindings" name = "vfio-bindings"
version = "0.6.1" version = "0.6.2"
source = "git+https://github.com/rust-vmm/vfio?rev=df861a878168ad71602d8a1945bd3b7acbd22693#df861a878168ad71602d8a1945bd3b7acbd22693" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "188dac3057a0cbc94470085204c84b82ff7ec5dac629a514323cd133d1f9abe0"
dependencies = [ dependencies = [
"vmm-sys-util", "vmm-sys-util",
] ]
[[package]] [[package]]
name = "vfio-ioctls" name = "vfio-ioctls"
version = "0.5.2" version = "0.5.3"
source = "git+https://github.com/rust-vmm/vfio?rev=df861a878168ad71602d8a1945bd3b7acbd22693#df861a878168ad71602d8a1945bd3b7acbd22693" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c80c6d52f8e592e31a8f7eb45e882a9617aa61ec2479981a175e9f0a79f2434e"
dependencies = [ dependencies = [
"byteorder", "byteorder",
"kvm-bindings", "kvm-bindings",
@@ -2303,8 +2305,9 @@ dependencies = [
[[package]] [[package]]
name = "vfio_user" name = "vfio_user"
version = "0.1.2" version = "0.1.3"
source = "git+https://github.com/rust-vmm/vfio?rev=df861a878168ad71602d8a1945bd3b7acbd22693#df861a878168ad71602d8a1945bd3b7acbd22693" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "731c2582dd43f4f174ab47b4c933a1a9bb872d9d1b7f54c5867e12dbc1491b75"
dependencies = [ dependencies = [
"bitflags 2.11.0", "bitflags 2.11.0",
"libc", "libc",
@@ -2320,8 +2323,9 @@ dependencies = [
[[package]] [[package]]
name = "vhost" name = "vhost"
version = "0.15.0" version = "0.16.0"
source = "git+https://github.com/rust-vmm/vhost?rev=c9b80a1c93bac7820e4aee4269aa904568937035#c9b80a1c93bac7820e4aee4269aa904568937035" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ee90657203a8644e9a0860a0db6a7887d8ef0c7bc09fc22dfa4ae75df65bac86"
dependencies = [ dependencies = [
"bitflags 2.11.0", "bitflags 2.11.0",
"libc", "libc",
@@ -2332,8 +2336,9 @@ dependencies = [
[[package]] [[package]]
name = "vhost-user-backend" name = "vhost-user-backend"
version = "0.21.0" version = "0.22.0"
source = "git+https://github.com/rust-vmm/vhost?rev=c9b80a1c93bac7820e4aee4269aa904568937035#c9b80a1c93bac7820e4aee4269aa904568937035" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d5925983d8fb537752ad3e26604c0a17abfa5de77cb6773a096c8a959c9eca0f"
dependencies = [ dependencies = [
"libc", "libc",
"log", "log",

View File

@@ -59,11 +59,11 @@ linux-loader = "0.13.2"
mshv-bindings = "0.6.7" mshv-bindings = "0.6.7"
mshv-ioctls = "0.6.7" mshv-ioctls = "0.6.7"
seccompiler = "0.5.0" seccompiler = "0.5.0"
vfio-bindings = { git = "https://github.com/rust-vmm/vfio", rev = "df861a878168ad71602d8a1945bd3b7acbd22693", default-features = false } vfio-bindings = { version = "0.6.2", default-features = false }
vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", rev = "df861a878168ad71602d8a1945bd3b7acbd22693", default-features = false } vfio-ioctls = { version = "0.5.3", default-features = false }
vfio_user = { git = "https://github.com/rust-vmm/vfio", rev = "df861a878168ad71602d8a1945bd3b7acbd22693", default-features = false } vfio_user = { version = "0.1.3", default-features = false }
vhost = { git = "https://github.com/rust-vmm/vhost", rev = "c9b80a1c93bac7820e4aee4269aa904568937035", default-features = false } vhost = { version = "0.16.0", default-features = false }
vhost-user-backend = { git = "https://github.com/rust-vmm/vhost", rev = "c9b80a1c93bac7820e4aee4269aa904568937035", default-features = false } vhost-user-backend = { version = "0.22.0", default-features = false }
virtio-bindings = "0.2.6" virtio-bindings = "0.2.6"
virtio-queue = "0.17.0" virtio-queue = "0.17.0"
vm-fdt = "0.3.0" vm-fdt = "0.3.0"

20
fuzz/Cargo.lock generated
View File

@@ -1273,16 +1273,18 @@ dependencies = [
[[package]] [[package]]
name = "vfio-bindings" name = "vfio-bindings"
version = "0.6.1" version = "0.6.2"
source = "git+https://github.com/rust-vmm/vfio?rev=df861a878168ad71602d8a1945bd3b7acbd22693#df861a878168ad71602d8a1945bd3b7acbd22693" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "188dac3057a0cbc94470085204c84b82ff7ec5dac629a514323cd133d1f9abe0"
dependencies = [ dependencies = [
"vmm-sys-util", "vmm-sys-util",
] ]
[[package]] [[package]]
name = "vfio-ioctls" name = "vfio-ioctls"
version = "0.5.2" version = "0.5.3"
source = "git+https://github.com/rust-vmm/vfio?rev=df861a878168ad71602d8a1945bd3b7acbd22693#df861a878168ad71602d8a1945bd3b7acbd22693" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c80c6d52f8e592e31a8f7eb45e882a9617aa61ec2479981a175e9f0a79f2434e"
dependencies = [ dependencies = [
"byteorder", "byteorder",
"kvm-bindings", "kvm-bindings",
@@ -1297,8 +1299,9 @@ dependencies = [
[[package]] [[package]]
name = "vfio_user" name = "vfio_user"
version = "0.1.2" version = "0.1.3"
source = "git+https://github.com/rust-vmm/vfio?rev=df861a878168ad71602d8a1945bd3b7acbd22693#df861a878168ad71602d8a1945bd3b7acbd22693" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "731c2582dd43f4f174ab47b4c933a1a9bb872d9d1b7f54c5867e12dbc1491b75"
dependencies = [ dependencies = [
"bitflags 2.11.0", "bitflags 2.11.0",
"libc", "libc",
@@ -1314,8 +1317,9 @@ dependencies = [
[[package]] [[package]]
name = "vhost" name = "vhost"
version = "0.15.0" version = "0.16.0"
source = "git+https://github.com/rust-vmm/vhost?rev=c9b80a1c93bac7820e4aee4269aa904568937035#c9b80a1c93bac7820e4aee4269aa904568937035" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ee90657203a8644e9a0860a0db6a7887d8ef0c7bc09fc22dfa4ae75df65bac86"
dependencies = [ dependencies = [
"bitflags 2.11.0", "bitflags 2.11.0",
"libc", "libc",