build: use latest version of mshv and vfio crates

Signed-off-by: Muminul Islam <muislam@microsoft.com>
This commit is contained in:
Muminul Islam 2024-12-09 10:27:23 -08:00 committed by Wei Liu
parent a10d1ed78e
commit 9cef779cc7
2 changed files with 51 additions and 31 deletions

78
Cargo.lock generated
View File

@ -93,7 +93,7 @@ checksum = "c1fd03a028ef38ba2276dce7e33fcd6369c158a1bca17946c4b1b701891c1ff7"
name = "api_client" name = "api_client"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"thiserror", "thiserror 1.0.62",
"vmm-sys-util", "vmm-sys-util",
] ]
@ -115,7 +115,7 @@ dependencies = [
"linux-loader", "linux-loader",
"log", "log",
"serde", "serde",
"thiserror", "thiserror 1.0.62",
"uuid", "uuid",
"vm-fdt", "vm-fdt",
"vm-memory", "vm-memory",
@ -329,7 +329,7 @@ dependencies = [
"remain", "remain",
"serde", "serde",
"smallvec", "smallvec",
"thiserror", "thiserror 1.0.62",
"uuid", "uuid",
"virtio-bindings", "virtio-bindings",
"virtio-queue", "virtio-queue",
@ -439,7 +439,7 @@ dependencies = [
"serde_json", "serde_json",
"signal-hook", "signal-hook",
"test_infra", "test_infra",
"thiserror", "thiserror 1.0.62",
"tpm", "tpm",
"tracer", "tracer",
"vm-memory", "vm-memory",
@ -574,7 +574,7 @@ dependencies = [
"num_enum", "num_enum",
"pci", "pci",
"serde", "serde",
"thiserror", "thiserror 1.0.62",
"tpm", "tpm",
"vm-allocator", "vm-allocator",
"vm-device", "vm-device",
@ -973,7 +973,7 @@ dependencies = [
"mshv-ioctls", "mshv-ioctls",
"serde", "serde",
"serde_with", "serde_with",
"thiserror", "thiserror 1.0.62",
"vfio-ioctls", "vfio-ioctls",
"vm-memory", "vm-memory",
"vmm-sys-util", "vmm-sys-util",
@ -1006,7 +1006,7 @@ dependencies = [
"igvm_defs", "igvm_defs",
"open-enum", "open-enum",
"range_map_vec", "range_map_vec",
"thiserror", "thiserror 1.0.62",
"tracing", "tracing",
"zerocopy 0.7.35", "zerocopy 0.7.35",
] ]
@ -1113,7 +1113,7 @@ checksum = "dafb8a4afee64f167eb2b52d32f0eea002e41a7a6450e68c799c8ec3a81a634c"
dependencies = [ dependencies = [
"enumflags2", "enumflags2",
"libc", "libc",
"thiserror", "thiserror 1.0.62",
] ]
[[package]] [[package]]
@ -1242,9 +1242,9 @@ checksum = "9bec4598fddb13cc7b528819e697852653252b760f1228b7642679bf2ff2cd07"
[[package]] [[package]]
name = "mshv-bindings" name = "mshv-bindings"
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 = "576504619272a742fa7b75e69c9cd92520df5b4b66181c55e0d3eeb10d8341f8" checksum = "1e0cb5031f3243a7459b7c13d960d25420980874eebda816db24ce6077e21d43"
dependencies = [ dependencies = [
"libc", "libc",
"num_enum", "num_enum",
@ -1256,13 +1256,13 @@ dependencies = [
[[package]] [[package]]
name = "mshv-ioctls" name = "mshv-ioctls"
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 = "8ccd62dfa7e0448b49700744f4d23e28ed7a49e83087ba6d7c06c4ee18b8821c" checksum = "89abe853221fa6f14ad4066affb9abda241a03d65622887d5794e1422d0bd75a"
dependencies = [ dependencies = [
"libc", "libc",
"mshv-bindings", "mshv-bindings",
"thiserror", "thiserror 2.0.6",
"vmm-sys-util", "vmm-sys-util",
] ]
@ -1297,7 +1297,7 @@ dependencies = [
"rate_limiter", "rate_limiter",
"serde", "serde",
"serde_json", "serde_json",
"thiserror", "thiserror 1.0.62",
"virtio-bindings", "virtio-bindings",
"virtio-queue", "virtio-queue",
"vm-memory", "vm-memory",
@ -1501,7 +1501,7 @@ dependencies = [
"libc", "libc",
"log", "log",
"serde", "serde",
"thiserror", "thiserror 1.0.62",
"vfio-bindings", "vfio-bindings",
"vfio-ioctls", "vfio-ioctls",
"vfio_user", "vfio_user",
@ -1521,7 +1521,7 @@ dependencies = [
"serde", "serde",
"serde_json", "serde_json",
"test_infra", "test_infra",
"thiserror", "thiserror 1.0.62",
"wait-timeout", "wait-timeout",
] ]
@ -1739,7 +1739,7 @@ dependencies = [
"epoll", "epoll",
"libc", "libc",
"log", "log",
"thiserror", "thiserror 1.0.62",
"vmm-sys-util", "vmm-sys-util",
] ]
@ -1769,7 +1769,7 @@ checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43"
dependencies = [ dependencies = [
"getrandom", "getrandom",
"libredox", "libredox",
"thiserror", "thiserror 1.0.62",
] ]
[[package]] [[package]]
@ -2060,7 +2060,16 @@ version = "1.0.62"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f2675633b1499176c2dff06b0856a27976a8f9d436737b4cf4f312d4d91d8bbb" checksum = "f2675633b1499176c2dff06b0856a27976a8f9d436737b4cf4f312d4d91d8bbb"
dependencies = [ dependencies = [
"thiserror-impl", "thiserror-impl 1.0.62",
]
[[package]]
name = "thiserror"
version = "2.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8fec2a1820ebd077e2b90c4df007bebf344cd394098a13c563957d0afc83ea47"
dependencies = [
"thiserror-impl 2.0.6",
] ]
[[package]] [[package]]
@ -2074,6 +2083,17 @@ dependencies = [
"syn", "syn",
] ]
[[package]]
name = "thiserror-impl"
version = "2.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d65750cab40f4ff1929fb1ba509e9914eb756131cef4210da8d5d700d26f6312"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]] [[package]]
name = "thousands" name = "thousands"
version = "0.2.0" version = "0.2.0"
@ -2106,7 +2126,7 @@ dependencies = [
"libc", "libc",
"log", "log",
"net_gen", "net_gen",
"thiserror", "thiserror 1.0.62",
"vmm-sys-util", "vmm-sys-util",
] ]
@ -2218,7 +2238,7 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
[[package]] [[package]]
name = "vfio-bindings" name = "vfio-bindings"
version = "0.4.0" version = "0.4.0"
source = "git+https://github.com/rust-vmm/vfio?branch=main#b135b8305c2cc8ec333e0cf77a780445cc98dcee" source = "git+https://github.com/rust-vmm/vfio?branch=main#e71efe41d59adf23377f7066a49903c6c19f5ac3"
dependencies = [ dependencies = [
"vmm-sys-util", "vmm-sys-util",
] ]
@ -2226,7 +2246,7 @@ dependencies = [
[[package]] [[package]]
name = "vfio-ioctls" name = "vfio-ioctls"
version = "0.2.0" version = "0.2.0"
source = "git+https://github.com/rust-vmm/vfio?branch=main#b135b8305c2cc8ec333e0cf77a780445cc98dcee" source = "git+https://github.com/rust-vmm/vfio?branch=main#e71efe41d59adf23377f7066a49903c6c19f5ac3"
dependencies = [ dependencies = [
"byteorder", "byteorder",
"kvm-bindings", "kvm-bindings",
@ -2235,7 +2255,7 @@ dependencies = [
"log", "log",
"mshv-bindings", "mshv-bindings",
"mshv-ioctls", "mshv-ioctls",
"thiserror", "thiserror 1.0.62",
"vfio-bindings", "vfio-bindings",
"vm-memory", "vm-memory",
"vmm-sys-util", "vmm-sys-util",
@ -2252,7 +2272,7 @@ dependencies = [
"serde", "serde",
"serde_derive", "serde_derive",
"serde_json", "serde_json",
"thiserror", "thiserror 1.0.62",
"vfio-bindings", "vfio-bindings",
"vm-memory", "vm-memory",
"vmm-sys-util", "vmm-sys-util",
@ -2349,7 +2369,7 @@ dependencies = [
"serde_json", "serde_json",
"serde_with", "serde_with",
"serial_buffer", "serial_buffer",
"thiserror", "thiserror 1.0.62",
"vhost", "vhost",
"virtio-bindings", "virtio-bindings",
"virtio-queue", "virtio-queue",
@ -2389,7 +2409,7 @@ dependencies = [
"anyhow", "anyhow",
"hypervisor", "hypervisor",
"serde", "serde",
"thiserror", "thiserror 1.0.62",
"vfio-ioctls", "vfio-ioctls",
"vm-memory", "vm-memory",
"vmm-sys-util", "vmm-sys-util",
@ -2408,7 +2428,7 @@ checksum = "e2919f87420b6998a131eb7c78843890295e91a3f8f786ccc925c8d387b75121"
dependencies = [ dependencies = [
"arc-swap", "arc-swap",
"libc", "libc",
"thiserror", "thiserror 1.0.62",
"winapi", "winapi",
] ]
@ -2419,7 +2439,7 @@ dependencies = [
"anyhow", "anyhow",
"serde", "serde",
"serde_json", "serde_json",
"thiserror", "thiserror 1.0.62",
"vm-memory", "vm-memory",
] ]
@ -2474,7 +2494,7 @@ dependencies = [
"serde_json", "serde_json",
"serial_buffer", "serial_buffer",
"signal-hook", "signal-hook",
"thiserror", "thiserror 1.0.62",
"tracer", "tracer",
"uuid", "uuid",
"vfio-ioctls", "vfio-ioctls",

View File

@ -106,8 +106,8 @@ acpi_tables = { git = "https://github.com/rust-vmm/acpi_tables", branch = "main"
kvm-bindings = "0.10.0" kvm-bindings = "0.10.0"
kvm-ioctls = "0.19.0" kvm-ioctls = "0.19.0"
linux-loader = "0.13.0" linux-loader = "0.13.0"
mshv-bindings = "0.3.1" mshv-bindings = "0.3.2"
mshv-ioctls = "0.3.1" mshv-ioctls = "0.3.2"
seccompiler = "0.4.0" seccompiler = "0.4.0"
vfio-bindings = { git = "https://github.com/rust-vmm/vfio", branch = "main" } 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 } vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false }