diff --git a/Cargo.lock b/Cargo.lock index 85f8bafc..fd1e7ada 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2002,7 +2002,7 @@ dependencies = [ "bitflags 2.10.0", "libc 0.2.177", "uuid", - "vm-memory", + "vm-memory 0.17.1", "vmm-sys-util", ] @@ -2021,7 +2021,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2042,7 +2042,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2061,7 +2061,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2085,7 +2085,7 @@ dependencies = [ "virglrenderer", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2103,7 +2103,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2126,7 +2126,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2147,7 +2147,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2165,7 +2165,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2184,7 +2184,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2209,7 +2209,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2228,7 +2228,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2246,7 +2246,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -2270,7 +2270,7 @@ dependencies = [ "virtio-bindings", "virtio-queue", "virtio-vsock", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", "vsock", ] @@ -2286,7 +2286,7 @@ dependencies = [ "vhost", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.17.1", "vmm-sys-util", ] @@ -2327,7 +2327,7 @@ dependencies = [ "libc 0.2.177", "log", "virtio-bindings", - "vm-memory", + "vm-memory 0.17.1", "vmm-sys-util", ] @@ -2339,7 +2339,7 @@ checksum = "8e7822f0d005c2451d4cdbb42cc9581cabb42a0fb64347efe5492fa548e8931a" dependencies = [ "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.17.1", ] [[package]] @@ -2356,6 +2356,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.10.0", + "libc 0.2.177", + "thiserror 2.0.17", + "vmm-sys-util", + "winapi", +] + [[package]] name = "vmm-sys-util" version = "0.15.0" diff --git a/staging/Cargo.lock b/staging/Cargo.lock index 72a2bd78..178dde2a 100644 --- a/staging/Cargo.lock +++ b/staging/Cargo.lock @@ -803,7 +803,7 @@ dependencies = [ "bitflags 2.10.0", "libc", "uuid", - "vm-memory", + "vm-memory 0.17.1", "vmm-sys-util", ] @@ -828,7 +828,7 @@ dependencies = [ "vhost-user-backend", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.18.0", "vmm-sys-util", ] @@ -843,7 +843,7 @@ dependencies = [ "vhost", "virtio-bindings", "virtio-queue", - "vm-memory", + "vm-memory 0.17.1", "vmm-sys-util", ] @@ -862,7 +862,7 @@ dependencies = [ "libc", "log", "virtio-bindings", - "vm-memory", + "vm-memory 0.17.1", "vmm-sys-util", ] @@ -880,6 +880,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.10.0", + "libc", + "thiserror 2.0.17", + "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 86983a43..0b9b2e1c 100644 --- a/staging/vhost-device-video/Cargo.toml +++ b/staging/vhost-device-video/Cargo.toml @@ -30,7 +30,7 @@ vhost = { version = "0.15", features = ["vhost-user-backend"] } vhost-user-backend = "0.21" virtio-bindings = "0.2.5" 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.23.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..2cf052e4 100644 --- a/vhost-device-can/Cargo.toml +++ b/vhost-device-can/Cargo.toml @@ -25,10 +25,10 @@ vhost = { version = "0.15", features = ["vhost-user-backend"] } vhost-user-backend = "0.21" virtio-bindings = "0.2.5" 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 fd149b9a..2203ce8e 100644 --- a/vhost-device-console/Cargo.toml +++ b/vhost-device-console/Cargo.toml @@ -27,13 +27,13 @@ vhost = { version = "0.15", features = ["vhost-user-backend"] } vhost-user-backend = "0.21" virtio-bindings = "0.2.5" 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..d91af770 100644 --- a/vhost-device-gpio/Cargo.toml +++ b/vhost-device-gpio/Cargo.toml @@ -25,7 +25,7 @@ vhost = { version = "0.15", features = ["vhost-user-backend"] } vhost-user-backend = "0.21" virtio-bindings = "0.2.5" 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 6eae2d6d..115a9e19 100644 --- a/vhost-device-gpu/Cargo.toml +++ b/vhost-device-gpu/Cargo.toml @@ -33,7 +33,7 @@ vhost = { version = "0.15.0", features = ["vhost-user-backend"] } vhost-user-backend = "0.21" virtio-bindings = "0.2.5" virtio-queue = "0.17.0" -vm-memory = "0.17.1" +vm-memory = "0.18.0" vmm-sys-util = "0.15.0" bitflags = "2.10.0" @@ -43,4 +43,4 @@ mockall = "0.14.0" rusty-fork = "0.3.1" tempfile = "3.23" 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..9cba6a1f 100644 --- a/vhost-device-i2c/Cargo.toml +++ b/vhost-device-i2c/Cargo.toml @@ -24,13 +24,13 @@ vhost = { version = "0.15", features = ["vhost-user-backend"] } vhost-user-backend = "0.21" virtio-bindings = "0.2.5" 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 f495c1de..660f3ef9 100644 --- a/vhost-device-input/Cargo.toml +++ b/vhost-device-input/Cargo.toml @@ -26,7 +26,7 @@ vhost = { version = "0.15", features = ["vhost-user-backend"] } vhost-user-backend = "0.21" virtio-bindings = "0.2.5" 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.30", features = ["ioctl"] } @@ -34,7 +34,7 @@ nix = { version = "0.30", 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 be1d34de..e3524ff7 100644 --- a/vhost-device-rng/Cargo.toml +++ b/vhost-device-rng/Cargo.toml @@ -25,13 +25,13 @@ vhost = { version = "0.15", features = ["vhost-user-backend"] } vhost-user-backend = "0.21" virtio-bindings = "0.2.5" 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..0c320963 100644 --- a/vhost-device-scmi/Cargo.toml +++ b/vhost-device-scmi/Cargo.toml @@ -19,7 +19,7 @@ vhost = { version = "0.15", features = ["vhost-user-backend"] } vhost-user-backend = "0.21" 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 2db22150..95bb37cc 100644 --- a/vhost-device-scsi/Cargo.toml +++ b/vhost-device-scsi/Cargo.toml @@ -24,7 +24,7 @@ vhost = { version = "0.15", features = ["vhost-user-backend"] } vhost-user-backend = "0.21" virtio-bindings = "0.2.5" 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 1813a4c5..5e3d0fa6 100644 --- a/vhost-device-sound/Cargo.toml +++ b/vhost-device-sound/Cargo.toml @@ -26,7 +26,7 @@ vhost = { version = "0.15", features = ["vhost-user-backend"] } vhost-user-backend = "0.21" virtio-bindings = "0.2.5" 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.23" 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.9.2" } diff --git a/vhost-device-spi/Cargo.toml b/vhost-device-spi/Cargo.toml index 452a2c5d..c477fa1e 100644 --- a/vhost-device-spi/Cargo.toml +++ b/vhost-device-spi/Cargo.toml @@ -25,14 +25,14 @@ vhost = { version = "0.15", features = ["vhost-user-backend"] } vhost-user-backend = "0.21" virtio-bindings = "0.2.5" virtio-queue = "0.17" -vm-memory = "0.17.1" +vm-memory = "0.18.0" vmm-sys-util = "0.15" bitflags = "2.10.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..46227e3c 100644 --- a/vhost-device-template/Cargo.toml +++ b/vhost-device-template/Cargo.toml @@ -24,13 +24,13 @@ vhost = { version = "0.15", features = ["vhost-user-backend"] } vhost-user-backend = "0.21" virtio-bindings = "0.2.5" 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 9d13818b..d953a096 100644 --- a/vhost-device-vsock/Cargo.toml +++ b/vhost-device-vsock/Cargo.toml @@ -26,7 +26,7 @@ vhost-user-backend = "0.21" virtio-bindings = "0.2.5" 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 }