diff --git a/Cargo.lock b/Cargo.lock index 8cd16140..d73264b7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2091,14 +2091,14 @@ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "vhost" -version = "0.15.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c76d90ce3c6b37d610a5304c9a445cfff580cf8b4b9fd02fb256aaf68552c28a" +checksum = "ee90657203a8644e9a0860a0db6a7887d8ef0c7bc09fc22dfa4ae75df65bac86" dependencies = [ "bitflags 2.11.0", "libc 0.2.182", "uuid", - "vm-memory", + "vm-memory 0.17.1", "vmm-sys-util", ] @@ -2117,7 +2117,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2138,7 +2138,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2157,7 +2157,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2182,7 +2182,7 @@ dependencies = [ "virglrenderer", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2200,7 +2200,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2223,7 +2223,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2244,7 +2244,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2262,7 +2262,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2281,7 +2281,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2306,7 +2306,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2325,7 +2325,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2343,7 +2343,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2367,23 +2367,23 @@ dependencies = [ "virtio-bindings", "virtio-queue", "virtio-vsock", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", "vsock", ] [[package]] name = "vhost-user-backend" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "783587813a59c42c36519a6e12bb31eb2d7fa517377428252ba4cc2312584243" +checksum = "d5925983d8fb537752ad3e26604c0a17abfa5de77cb6773a096c8a959c9eca0f" dependencies = [ "libc 0.2.182", "log", "vhost", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.17.1", "vmm-sys-util", ] @@ -2411,9 +2411,9 @@ dependencies = [ [[package]] name = "virtio-bindings" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "804f498a26d5a63be7bbb8bdcd3869c3f286c4c4a17108905276454da0caf8cb" +checksum = "091f1f09cfbf2a78563b562e7a949465cce1aef63b6065645188d995162f8868" [[package]] name = "virtio-queue" @@ -2424,7 +2424,7 @@ dependencies = [ "libc 0.2.182", "log", "virtio-bindings", - "vm-memory", + "vm-memory 0.17.1", "vmm-sys-util", ] @@ -2436,7 +2436,7 @@ checksum = "8e7822f0d005c2451d4cdbb42cc9581cabb42a0fb64347efe5492fa548e8931a" dependencies = [ "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.17.1", ] [[package]] @@ -2453,6 +2453,20 @@ dependencies = [ "winapi", ] +[[package]] +name = "vm-memory" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b55e753c7725603745cb32b2287ef7ef3da05c03c7702cda3fa8abe25ae0465" +dependencies = [ + "arc-swap", + "bitflags 2.11.0", + "libc 0.2.182", + "thiserror 2.0.18", + "vmm-sys-util", + "winapi", +] + [[package]] name = "vmm-sys-util" version = "0.15.0" diff --git a/staging/Cargo.lock b/staging/Cargo.lock index e5124720..ef5947b4 100644 --- a/staging/Cargo.lock +++ b/staging/Cargo.lock @@ -740,7 +740,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "82a72c767771b47409d2345987fda8628641887d5466101319899796367354a0" dependencies = [ "fastrand", - "getrandom 0.3.4", + "getrandom 0.4.1", "once_cell", "rustix", "windows-sys", @@ -861,14 +861,14 @@ dependencies = [ [[package]] name = "vhost" -version = "0.15.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c76d90ce3c6b37d610a5304c9a445cfff580cf8b4b9fd02fb256aaf68552c28a" +checksum = "ee90657203a8644e9a0860a0db6a7887d8ef0c7bc09fc22dfa4ae75df65bac86" dependencies = [ "bitflags 2.11.0", "libc", "uuid", - "vm-memory", + "vm-memory 0.17.1", "vmm-sys-util", ] @@ -893,30 +893,30 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] [[package]] name = "vhost-user-backend" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "783587813a59c42c36519a6e12bb31eb2d7fa517377428252ba4cc2312584243" +checksum = "d5925983d8fb537752ad3e26604c0a17abfa5de77cb6773a096c8a959c9eca0f" dependencies = [ "libc", "log", "vhost", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.17.1", "vmm-sys-util", ] [[package]] name = "virtio-bindings" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "804f498a26d5a63be7bbb8bdcd3869c3f286c4c4a17108905276454da0caf8cb" +checksum = "091f1f09cfbf2a78563b562e7a949465cce1aef63b6065645188d995162f8868" [[package]] name = "virtio-queue" @@ -927,7 +927,7 @@ dependencies = [ "libc", "log", "virtio-bindings", - "vm-memory", + "vm-memory 0.17.1", "vmm-sys-util", ] @@ -945,6 +945,20 @@ dependencies = [ "winapi", ] +[[package]] +name = "vm-memory" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b55e753c7725603745cb32b2287ef7ef3da05c03c7702cda3fa8abe25ae0465" +dependencies = [ + "arc-swap", + "bitflags 2.11.0", + "libc", + "thiserror 2.0.18", + "vmm-sys-util", + "winapi", +] + [[package]] name = "vmm-sys-util" version = "0.15.0" diff --git a/staging/vhost-device-video/Cargo.toml b/staging/vhost-device-video/Cargo.toml index 8a232b28..ee1af4bd 100644 --- a/staging/vhost-device-video/Cargo.toml +++ b/staging/vhost-device-video/Cargo.toml @@ -26,11 +26,11 @@ log = "0.4" libc = "0.2.182" thiserror = "2.0" futures-executor = { version = "0.3", features = ["thread-pool"] } -vhost = { version = "0.15", features = ["vhost-user-backend"] } -vhost-user-backend = "0.21" -virtio-bindings = "0.2.5" +vhost = { version = "0.16", features = ["vhost-user-backend"] } +vhost-user-backend = "0.22" +virtio-bindings = "0.2.7" virtio-queue = "0.17" -vm-memory = "0.17.1" +vm-memory = "0.18.0" vmm-sys-util = "0.15" v4l2r = { git = "https://github.com/Gnurou/v4l2r", rev = "110fd77", optional = true } @@ -39,4 +39,4 @@ assert_matches = "1.5" rstest = "0.26.1" tempfile = "3.26.0" virtio-queue = { version = "0.17", features = ["test-utils"] } -vm-memory = { version = "0.17.1", features = ["backend-mmap", "backend-atomic"] } +vm-memory = { version = "0.18.0", features = ["backend-mmap", "backend-atomic"] } diff --git a/vhost-device-can/Cargo.toml b/vhost-device-can/Cargo.toml index 4e779207..b7c0cce7 100644 --- a/vhost-device-can/Cargo.toml +++ b/vhost-device-can/Cargo.toml @@ -21,14 +21,14 @@ log = "0.4" thiserror = "2.0" queues = "1.0.2" socketcan = "3.5.0" -vhost = { version = "0.15", features = ["vhost-user-backend"] } -vhost-user-backend = "0.21" -virtio-bindings = "0.2.5" +vhost = { version = "0.16", features = ["vhost-user-backend"] } +vhost-user-backend = "0.22" +virtio-bindings = "0.2.7" virtio-queue = "0.17" -vm-memory = "0.17.1" +vm-memory = "0.18.0" vmm-sys-util = "0.15" [dev-dependencies] assert_matches = "1.5" virtio-queue = { version = "0.17", features = ["test-utils"] } -vm-memory = { version = "0.17.1", features = ["backend-mmap", "backend-atomic"] } +vm-memory = { version = "0.18.0", features = ["backend-mmap", "backend-atomic"] } diff --git a/vhost-device-console/Cargo.toml b/vhost-device-console/Cargo.toml index f1515924..3a132948 100644 --- a/vhost-device-console/Cargo.toml +++ b/vhost-device-console/Cargo.toml @@ -23,17 +23,17 @@ env_logger = "0.11" epoll = "4.4" log = "0.4" thiserror = "2.0" -vhost = { version = "0.15", features = ["vhost-user-backend"] } -vhost-user-backend = "0.21" -virtio-bindings = "0.2.5" +vhost = { version = "0.16", features = ["vhost-user-backend"] } +vhost-user-backend = "0.22" +virtio-bindings = "0.2.7" virtio-queue = "0.17" -vm-memory = "0.17.1" +vm-memory = "0.18.0" vmm-sys-util = "0.15" [dev-dependencies] assert_matches = "1.5" virtio-queue = { version = "0.17", features = ["test-utils"] } -vm-memory = { version = "0.17.1", features = ["backend-mmap", "backend-atomic"] } +vm-memory = { version = "0.18.0", features = ["backend-mmap", "backend-atomic"] } [lints] workspace = true diff --git a/vhost-device-gpio/Cargo.toml b/vhost-device-gpio/Cargo.toml index c58fa834..98b2556c 100644 --- a/vhost-device-gpio/Cargo.toml +++ b/vhost-device-gpio/Cargo.toml @@ -21,11 +21,11 @@ env_logger = "0.11" libc = "0.2" log = "0.4" thiserror = "2.0" -vhost = { version = "0.15", features = ["vhost-user-backend"] } -vhost-user-backend = "0.21" -virtio-bindings = "0.2.5" +vhost = { version = "0.16", features = ["vhost-user-backend"] } +vhost-user-backend = "0.22" +virtio-bindings = "0.2.7" virtio-queue = "0.17" -vm-memory = "0.17.1" +vm-memory = "0.18.0" vmm-sys-util = "0.15" [target.'cfg(target_env = "gnu")'.dependencies] @@ -34,4 +34,4 @@ libgpiod = "1.0" [dev-dependencies] assert_matches = "1.5" virtio-queue = { version = "0.17", features = ["test-utils"] } -vm-memory = { version = "0.17.1", features = ["backend-mmap", "backend-atomic"] } +vm-memory = { version = "0.18.0", features = ["backend-mmap", "backend-atomic"] } diff --git a/vhost-device-gpu/Cargo.toml b/vhost-device-gpu/Cargo.toml index 534cec10..3ffa8912 100644 --- a/vhost-device-gpu/Cargo.toml +++ b/vhost-device-gpu/Cargo.toml @@ -29,11 +29,11 @@ log = "0.4" rutabaga_gfx = "0.1.75" thiserror = "2.0.18" virglrenderer = {version = "0.1.3", optional = true } -vhost = { version = "0.15.0", features = ["vhost-user-backend"] } -vhost-user-backend = "0.21" -virtio-bindings = "0.2.5" +vhost = { version = "0.16.0", features = ["vhost-user-backend"] } +vhost-user-backend = "0.22" +virtio-bindings = "0.2.7" virtio-queue = "0.17.0" -vm-memory = "0.17.1" +vm-memory = "0.18.0" vmm-sys-util = "0.15.0" bitflags = "2.11.0" uuid = { version = "1.19", features = ["v4"] } @@ -44,4 +44,4 @@ mockall = "0.14.0" rusty-fork = "0.3.1" tempfile = "3.26" virtio-queue = { version = "0.17", features = ["test-utils"] } -vm-memory = { version = "0.17.1", features = ["backend-mmap", "backend-atomic"] } +vm-memory = { version = "0.18.0", features = ["backend-mmap", "backend-atomic"] } diff --git a/vhost-device-i2c/Cargo.toml b/vhost-device-i2c/Cargo.toml index 3945ca9d..132efbbe 100644 --- a/vhost-device-i2c/Cargo.toml +++ b/vhost-device-i2c/Cargo.toml @@ -20,17 +20,17 @@ env_logger = "0.11" libc = "0.2" log = "0.4" thiserror = "2.0" -vhost = { version = "0.15", features = ["vhost-user-backend"] } -vhost-user-backend = "0.21" -virtio-bindings = "0.2.5" +vhost = { version = "0.16", features = ["vhost-user-backend"] } +vhost-user-backend = "0.22" +virtio-bindings = "0.2.7" virtio-queue = "0.17" -vm-memory = "0.17.1" +vm-memory = "0.18.0" vmm-sys-util = "0.15" [dev-dependencies] assert_matches = "1.5" virtio-queue = { version = "0.17", features = ["test-utils"] } -vm-memory = { version = "0.17.1", features = ["backend-mmap", "backend-atomic"] } +vm-memory = { version = "0.18.0", features = ["backend-mmap", "backend-atomic"] } [lints] workspace = true diff --git a/vhost-device-input/Cargo.toml b/vhost-device-input/Cargo.toml index 50575ca8..d64c4f7b 100644 --- a/vhost-device-input/Cargo.toml +++ b/vhost-device-input/Cargo.toml @@ -22,11 +22,11 @@ log = "0.4" rand = "0.10.0" tempfile = "3.26" thiserror = "2.0" -vhost = { version = "0.15", features = ["vhost-user-backend"] } -vhost-user-backend = "0.21" -virtio-bindings = "0.2.5" +vhost = { version = "0.16", features = ["vhost-user-backend"] } +vhost-user-backend = "0.22" +virtio-bindings = "0.2.7" virtio-queue = "0.17" -vm-memory = "0.17.1" +vm-memory = "0.18.0" vmm-sys-util = "0.15" evdev = "0.13" nix = { version = "0.31", features = ["ioctl"] } @@ -34,7 +34,7 @@ nix = { version = "0.31", features = ["ioctl"] } [dev-dependencies] assert_matches = "1.5" virtio-queue = { version = "0.17", features = ["test-utils"] } -vm-memory = { version = "0.17", features = ["backend-mmap", "backend-atomic"] } +vm-memory = { version = "0.18", features = ["backend-mmap", "backend-atomic"] } [lints] workspace = true diff --git a/vhost-device-rng/Cargo.toml b/vhost-device-rng/Cargo.toml index b135458b..4c66f0fd 100644 --- a/vhost-device-rng/Cargo.toml +++ b/vhost-device-rng/Cargo.toml @@ -21,17 +21,17 @@ log = "0.4" rand = "0.10.0" tempfile = "3.26" thiserror = "2.0" -vhost = { version = "0.15", features = ["vhost-user-backend"] } -vhost-user-backend = "0.21" -virtio-bindings = "0.2.5" +vhost = { version = "0.16", features = ["vhost-user-backend"] } +vhost-user-backend = "0.22" +virtio-bindings = "0.2.7" virtio-queue = "0.17" -vm-memory = "0.17.1" +vm-memory = "0.18.0" vmm-sys-util = "0.15" [dev-dependencies] assert_matches = "1.5" virtio-queue = { version = "0.17", features = ["test-utils"] } -vm-memory = { version = "0.17", features = ["backend-mmap", "backend-atomic"] } +vm-memory = { version = "0.18", features = ["backend-mmap", "backend-atomic"] } [lints] workspace = true diff --git a/vhost-device-scmi/Cargo.toml b/vhost-device-scmi/Cargo.toml index 44ff78c2..de5a27b5 100644 --- a/vhost-device-scmi/Cargo.toml +++ b/vhost-device-scmi/Cargo.toml @@ -15,11 +15,11 @@ env_logger = "0.11" itertools = "0.14" log = "0.4" thiserror = "2.0" -vhost = { version = "0.15", features = ["vhost-user-backend"] } -vhost-user-backend = "0.21" +vhost = { version = "0.16", features = ["vhost-user-backend"] } +vhost-user-backend = "0.22" virtio-bindings = "0.2" virtio-queue = "0.17" -vm-memory = "0.17.1" +vm-memory = "0.18.0" vmm-sys-util = "0.15" [dev-dependencies] diff --git a/vhost-device-scsi/Cargo.toml b/vhost-device-scsi/Cargo.toml index fc500076..59460d1a 100644 --- a/vhost-device-scsi/Cargo.toml +++ b/vhost-device-scsi/Cargo.toml @@ -20,11 +20,11 @@ env_logger = "0.11" epoll = "4.4" log = "0.4" thiserror = "2.0" -vhost = { version = "0.15", features = ["vhost-user-backend"] } -vhost-user-backend = "0.21" -virtio-bindings = "0.2.5" +vhost = { version = "0.16", features = ["vhost-user-backend"] } +vhost-user-backend = "0.22" +virtio-bindings = "0.2.7" virtio-queue = "0.17" -vm-memory = "0.17.1" +vm-memory = "0.18.0" vmm-sys-util = "0.15" [dev-dependencies] diff --git a/vhost-device-sound/Cargo.toml b/vhost-device-sound/Cargo.toml index cfc55f71..b209bdf2 100644 --- a/vhost-device-sound/Cargo.toml +++ b/vhost-device-sound/Cargo.toml @@ -22,11 +22,11 @@ clap = { version = "4.5", features = ["derive"] } env_logger = "0.11" log = "0.4" thiserror = "2.0" -vhost = { version = "0.15", features = ["vhost-user-backend"] } -vhost-user-backend = "0.21" -virtio-bindings = "0.2.5" +vhost = { version = "0.16", features = ["vhost-user-backend"] } +vhost-user-backend = "0.22" +virtio-bindings = "0.2.7" virtio-queue = "0.17" -vm-memory = "0.17.1" +vm-memory = "0.18.0" vmm-sys-util = "0.15" # Make alsa and pipewire backends available only on gnu @@ -41,7 +41,7 @@ gst-audio = {package = "gstreamer-audio", version = "0.24.2", optional = true, f rstest = "0.26.1" tempfile = "3.26" virtio-queue = { version = "0.17", features = ["test-utils"] } -vm-memory = { version = "0.17.1", features = ["backend-mmap", "backend-atomic"] } +vm-memory = { version = "0.18.0", features = ["backend-mmap", "backend-atomic"] } [target.'cfg(target_env = "gnu")'.dev-dependencies] rand = { version = "0.10.0" } diff --git a/vhost-device-spi/Cargo.toml b/vhost-device-spi/Cargo.toml index 85cd5e61..f8aca73f 100644 --- a/vhost-device-spi/Cargo.toml +++ b/vhost-device-spi/Cargo.toml @@ -21,18 +21,18 @@ env_logger = "0.11" libc = "0.2" log = "0.4" thiserror = "2.0" -vhost = { version = "0.15", features = ["vhost-user-backend"] } -vhost-user-backend = "0.21" -virtio-bindings = "0.2.5" +vhost = { version = "0.16", features = ["vhost-user-backend"] } +vhost-user-backend = "0.22" +virtio-bindings = "0.2.7" virtio-queue = "0.17" -vm-memory = "0.17.1" +vm-memory = "0.18.0" vmm-sys-util = "0.15" bitflags = "2.11.0" [dev-dependencies] assert_matches = "1.5" virtio-queue = { version = "0.17", features = ["test-utils"] } -vm-memory = { version = "0.17.1", features = ["backend-mmap", "backend-atomic"] } +vm-memory = { version = "0.18.0", features = ["backend-mmap", "backend-atomic"] } [lints] workspace = true diff --git a/vhost-device-template/Cargo.toml b/vhost-device-template/Cargo.toml index 4c8b27f2..ff8a7e40 100644 --- a/vhost-device-template/Cargo.toml +++ b/vhost-device-template/Cargo.toml @@ -20,17 +20,17 @@ env_logger = "0.11" libc = "0.2" log = "0.4" thiserror = "2.0" -vhost = { version = "0.15", features = ["vhost-user-backend"] } -vhost-user-backend = "0.21" -virtio-bindings = "0.2.5" +vhost = { version = "0.16", features = ["vhost-user-backend"] } +vhost-user-backend = "0.22" +virtio-bindings = "0.2.7" virtio-queue = "0.17" -vm-memory = "0.17.1" +vm-memory = "0.18.0" vmm-sys-util = "0.15" [dev-dependencies] assert_matches = "1.5" virtio-queue = { version = "0.17", features = ["test-utils"] } -vm-memory = { version = "0.17.1", features = ["backend-mmap", "backend-atomic"] } +vm-memory = { version = "0.18.0", features = ["backend-mmap", "backend-atomic"] } [lints] workspace = true diff --git a/vhost-device-vsock/Cargo.toml b/vhost-device-vsock/Cargo.toml index 67224443..3c0abe1d 100644 --- a/vhost-device-vsock/Cargo.toml +++ b/vhost-device-vsock/Cargo.toml @@ -21,12 +21,12 @@ env_logger = "0.11" epoll = "4.4.0" log = "0.4" thiserror = "2.0" -vhost = { version = "0.15", features = ["vhost-user-backend"] } -vhost-user-backend = "0.21" -virtio-bindings = "0.2.5" +vhost = { version = "0.16", features = ["vhost-user-backend"] } +vhost-user-backend = "0.22" +virtio-bindings = "0.2.7" virtio-queue = "0.17" virtio-vsock = "0.11" -vm-memory = "0.17.1" +vm-memory = "0.18.0" vmm-sys-util = "0.15" figment = { version = "0.10.19", features = ["yaml"] } vsock = { version = "0.5.2", optional = true }