build: Fix cargo fuzz build

This reverts commit aba5fa8846.

Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
Bo Chen 2024-09-18 09:44:43 -07:00 committed by Bo Chen
parent cbc940d2e2
commit 0277974a36
2 changed files with 27 additions and 50 deletions

75
fuzz/Cargo.lock generated
View File

@ -92,7 +92,7 @@ dependencies = [
"thiserror", "thiserror",
"uuid", "uuid",
"vm-fdt", "vm-fdt",
"vm-memory 0.14.1", "vm-memory",
"vm-migration", "vm-migration",
"vmm-sys-util", "vmm-sys-util",
] ]
@ -129,8 +129,8 @@ dependencies = [
"thiserror", "thiserror",
"uuid", "uuid",
"virtio-bindings", "virtio-bindings",
"virtio-queue 0.12.0", "virtio-queue",
"vm-memory 0.14.1", "vm-memory",
"vm-virtio", "vm-virtio",
"vmm-sys-util", "vmm-sys-util",
] ]
@ -206,9 +206,9 @@ dependencies = [
"once_cell", "once_cell",
"seccompiler", "seccompiler",
"virtio-devices", "virtio-devices",
"virtio-queue 0.13.0", "virtio-queue",
"vm-device", "vm-device",
"vm-memory 0.14.1", "vm-memory",
"vm-migration", "vm-migration",
"vm-virtio", "vm-virtio",
"vmm", "vmm",
@ -301,7 +301,7 @@ dependencies = [
"tpm", "tpm",
"vm-allocator", "vm-allocator",
"vm-device", "vm-device",
"vm-memory 0.14.1", "vm-memory",
"vm-migration", "vm-migration",
"vmm-sys-util", "vmm-sys-util",
] ]
@ -448,7 +448,7 @@ dependencies = [
"serde_with", "serde_with",
"thiserror", "thiserror",
"vfio-ioctls", "vfio-ioctls",
"vm-memory 0.14.1", "vm-memory",
"vmm-sys-util", "vmm-sys-util",
] ]
@ -555,7 +555,7 @@ version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eb68dd3452f25a8defaf0ae593509cff0c777683e4d8924f59ac7c5f89267a83" checksum = "eb68dd3452f25a8defaf0ae593509cff0c777683e4d8924f59ac7c5f89267a83"
dependencies = [ dependencies = [
"vm-memory 0.14.1", "vm-memory",
] ]
[[package]] [[package]]
@ -624,8 +624,8 @@ dependencies = [
"serde", "serde",
"thiserror", "thiserror",
"virtio-bindings", "virtio-bindings",
"virtio-queue 0.12.0", "virtio-queue",
"vm-memory 0.14.1", "vm-memory",
"vm-virtio", "vm-virtio",
"vmm-sys-util", "vmm-sys-util",
] ]
@ -692,7 +692,7 @@ dependencies = [
"vfio_user", "vfio_user",
"vm-allocator", "vm-allocator",
"vm-device", "vm-device",
"vm-memory 0.14.1", "vm-memory",
"vm-migration", "vm-migration",
"vmm-sys-util", "vmm-sys-util",
] ]
@ -985,7 +985,7 @@ dependencies = [
"log", "log",
"thiserror", "thiserror",
"vfio-bindings", "vfio-bindings",
"vm-memory 0.14.1", "vm-memory",
"vmm-sys-util", "vmm-sys-util",
] ]
@ -1002,7 +1002,7 @@ dependencies = [
"serde_json", "serde_json",
"thiserror", "thiserror",
"vfio-bindings", "vfio-bindings",
"vm-memory 0.14.1", "vm-memory",
"vmm-sys-util", "vmm-sys-util",
] ]
@ -1014,15 +1014,15 @@ checksum = "6be08d1166d41a78861ad50212ab3f9eca0729c349ac3a7a8f557c62406b87cc"
dependencies = [ dependencies = [
"bitflags 2.6.0", "bitflags 2.6.0",
"libc", "libc",
"vm-memory 0.14.1", "vm-memory",
"vmm-sys-util", "vmm-sys-util",
] ]
[[package]] [[package]]
name = "virtio-bindings" name = "virtio-bindings"
version = "0.2.3" version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68d0df4f5ad79b1dc81b5913ac737e24a84dcd5100f36ed953a1faec18aba241" checksum = "878bcb1b2812a10c30d53b0ed054999de3d98f25ece91fc173973f9c57aaae86"
[[package]] [[package]]
name = "virtio-devices" name = "virtio-devices"
@ -1048,10 +1048,10 @@ dependencies = [
"thiserror", "thiserror",
"vhost", "vhost",
"virtio-bindings", "virtio-bindings",
"virtio-queue 0.12.0", "virtio-queue",
"vm-allocator", "vm-allocator",
"vm-device", "vm-device",
"vm-memory 0.14.1", "vm-memory",
"vm-migration", "vm-migration",
"vm-virtio", "vm-virtio",
"vmm-sys-util", "vmm-sys-util",
@ -1065,19 +1065,7 @@ checksum = "07d8406e7250c934462de585d8f2d2781c31819bca1fbb7c5e964ca6bbaabfe8"
dependencies = [ dependencies = [
"log", "log",
"virtio-bindings", "virtio-bindings",
"vm-memory 0.14.1", "vm-memory",
"vmm-sys-util",
]
[[package]]
name = "virtio-queue"
version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ffb1761348d3b5e82131379b9373435b48dc8333100bff3f1cdf9cc541a0ad83"
dependencies = [
"log",
"virtio-bindings",
"vm-memory 0.15.0",
"vmm-sys-util", "vmm-sys-util",
] ]
@ -1087,7 +1075,7 @@ version = "0.1.0"
dependencies = [ dependencies = [
"arch", "arch",
"libc", "libc",
"vm-memory 0.14.1", "vm-memory",
] ]
[[package]] [[package]]
@ -1099,7 +1087,7 @@ dependencies = [
"serde", "serde",
"thiserror", "thiserror",
"vfio-ioctls", "vfio-ioctls",
"vm-memory 0.14.1", "vm-memory",
"vmm-sys-util", "vmm-sys-util",
] ]
@ -1120,17 +1108,6 @@ dependencies = [
"winapi", "winapi",
] ]
[[package]]
name = "vm-memory"
version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a320fc11792e063174402ff444aa3c80363cbf1e31c47b5ef74124406c334ce6"
dependencies = [
"libc",
"thiserror",
"winapi",
]
[[package]] [[package]]
name = "vm-migration" name = "vm-migration"
version = "0.1.0" version = "0.1.0"
@ -1139,7 +1116,7 @@ dependencies = [
"serde", "serde",
"serde_json", "serde_json",
"thiserror", "thiserror",
"vm-memory 0.14.1", "vm-memory",
] ]
[[package]] [[package]]
@ -1147,8 +1124,8 @@ name = "vm-virtio"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"log", "log",
"virtio-queue 0.12.0", "virtio-queue",
"vm-memory 0.14.1", "vm-memory",
] ]
[[package]] [[package]]
@ -1191,10 +1168,10 @@ dependencies = [
"vfio-ioctls", "vfio-ioctls",
"vfio_user", "vfio_user",
"virtio-devices", "virtio-devices",
"virtio-queue 0.12.0", "virtio-queue",
"vm-allocator", "vm-allocator",
"vm-device", "vm-device",
"vm-memory 0.14.1", "vm-memory",
"vm-migration", "vm-migration",
"vm-virtio", "vm-virtio",
"vmm-sys-util", "vmm-sys-util",

View File

@ -24,7 +24,7 @@ net_util = { path = "../net_util" }
once_cell = "1.19.0" once_cell = "1.19.0"
seccompiler = "0.4.0" seccompiler = "0.4.0"
virtio-devices = { path = "../virtio-devices" } virtio-devices = { path = "../virtio-devices" }
virtio-queue = "0.13.0" virtio-queue = "0.12.0"
vm-device = { path = "../vm-device" } vm-device = { path = "../vm-device" }
vm-memory = "0.14.1" vm-memory = "0.14.1"
vm-migration = { path = "../vm-migration" } vm-migration = { path = "../vm-migration" }