diff --git a/Cargo.lock b/Cargo.lock index 49fdd31..9a8be49 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -94,9 +94,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.86" +version = "1.0.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" +checksum = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6" [[package]] name = "arc-swap" @@ -194,9 +194,9 @@ dependencies = [ [[package]] name = "bytemuck" -version = "1.17.1" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773d90827bc3feecfb67fab12e24de0749aad83c74b9504ecde46237b5cd24e2" +checksum = "94bbb0ad554ad961ddc5da507a12a29b14e4ae5bda06b19f575a3e6079d2e2ae" [[package]] name = "byteorder" @@ -206,9 +206,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "cc" -version = "1.1.15" +version = "1.1.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57b6a275aa2903740dc87da01c62040406b8812552e97129a63ea8850a17c6e6" +checksum = "2d74707dde2ba56f86ae90effb3b43ddd369504387e718014de010cec7959800" dependencies = [ "shlex", ] @@ -257,9 +257,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.16" +version = "4.5.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed6719fffa43d0d87e5fd8caeab59be1554fb028cd30edc88fc4369b17971019" +checksum = "3e5a21b8495e732f1b3c364c9949b201ca7bae518c502c80256c96ad79eaf6ac" dependencies = [ "clap_builder", "clap_derive", @@ -267,9 +267,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.15" +version = "4.5.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "216aec2b177652e3846684cbfe25c9964d18ec45234f0f5da5157b207ed1aab6" +checksum = "8cf2dd12af7a047ad9d6da2b6b249759a22a7abc0f474c1dae1777afa4b21a73" dependencies = [ "anstream", "anstyle", @@ -824,9 +824,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.19.0" +version = "1.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" +checksum = "33ea5043e58958ee56f3e15a90aee535795cd7dfd319846288d93c5b57d85cbe" [[package]] name = "peeking_take_while" @@ -1034,9 +1034,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.35" +version = "0.38.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a85d50532239da68e9addb745ba38ff4612a242c1c7ceea689c4bc7c2f43c36f" +checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811" dependencies = [ "bitflags 2.6.0", "errno 0.3.8", @@ -1059,18 +1059,18 @@ checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" [[package]] name = "serde" -version = "1.0.209" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09" +checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.209" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170" +checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" dependencies = [ "proc-macro2", "quote", @@ -1293,15 +1293,15 @@ dependencies = [ [[package]] name = "unicode-ident" -version = "1.0.12" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" +checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" [[package]] name = "unicode-segmentation" -version = "1.11.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" +checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" [[package]] name = "unicode-width" @@ -1321,6 +1321,28 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" +[[package]] +name = "uuid" +version = "1.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" +dependencies = [ + "getrandom", + "rand", + "uuid-macro-internal", +] + +[[package]] +name = "uuid-macro-internal" +version = "1.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee1cd046f83ea2c4e920d6ee9f7c3537ef928d75dce5d84a87c2c5d6b3999a3a" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.46", +] + [[package]] name = "version-compare" version = "0.0.11" @@ -1341,12 +1363,13 @@ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "vhost" -version = "0.11.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6be08d1166d41a78861ad50212ab3f9eca0729c349ac3a7a8f557c62406b87cc" +checksum = "7c1c4c6c9f79fbe3150d9a403008ca416d34c489897effdda28b646f09900aad" dependencies = [ "bitflags 2.6.0", "libc", + "uuid", "vm-memory", "vmm-sys-util", ] @@ -1554,9 +1577,9 @@ dependencies = [ [[package]] name = "vhost-user-backend" -version = "0.15.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f0ffb1dd8e00a708a0e2c32d5efec5812953819888591fff9ff68236b8a5096" +checksum = "73768c8584e0be5ed8feb063785910cabe3f1af6661a5953fd3247fa611ddfaf" dependencies = [ "libc", "log", @@ -1569,15 +1592,15 @@ dependencies = [ [[package]] name = "virtio-bindings" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "878bcb1b2812a10c30d53b0ed054999de3d98f25ece91fc173973f9c57aaae86" +checksum = "68d0df4f5ad79b1dc81b5913ac737e24a84dcd5100f36ed953a1faec18aba241" [[package]] name = "virtio-queue" -version = "0.12.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07d8406e7250c934462de585d8f2d2781c31819bca1fbb7c5e964ca6bbaabfe8" +checksum = "ffb1761348d3b5e82131379b9373435b48dc8333100bff3f1cdf9cc541a0ad83" dependencies = [ "log", "virtio-bindings", @@ -1587,9 +1610,9 @@ dependencies = [ [[package]] name = "virtio-vsock" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f32bf3cad748b3004afe3afd860f060c4ec57f5ac329dd46f0b5bf8520244332" +checksum = "1eedae846ddf15dfa43b69d0be876179627ffcdbc5f3a38b2900f520b4d12acb" dependencies = [ "virtio-bindings", "virtio-queue", @@ -1598,9 +1621,9 @@ dependencies = [ [[package]] name = "vm-memory" -version = "0.14.1" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c3aba5064cc5f6f7740cddc8dae34d2d9a311cac69b60d942af7f3ab8fc49f4" +checksum = "a320fc11792e063174402ff444aa3c80363cbf1e31c47b5ef74124406c334ce6" dependencies = [ "arc-swap", "bitflags 2.6.0", diff --git a/vhost-device-gpio/Cargo.toml b/vhost-device-gpio/Cargo.toml index af59be7..29ec1f2 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 = "1.0" -vhost = { version = "0.11", features = ["vhost-user-backend"] } -vhost-user-backend = "0.15" +vhost = { version = "0.12", features = ["vhost-user-backend"] } +vhost-user-backend = "0.16" virtio-bindings = "0.2.2" -virtio-queue = "0.12" -vm-memory = "0.14.1" +virtio-queue = "0.13" +vm-memory = "0.15.0" vmm-sys-util = "0.12" [target.'cfg(target_env = "gnu")'.dependencies] @@ -33,5 +33,5 @@ libgpiod = "0.2" [dev-dependencies] assert_matches = "1.5" -virtio-queue = { version = "0.12", features = ["test-utils"] } -vm-memory = { version = "0.14.1", features = ["backend-mmap", "backend-atomic"] } +virtio-queue = { version = "0.13", features = ["test-utils"] } +vm-memory = { version = "0.15.0", features = ["backend-mmap", "backend-atomic"] } diff --git a/vhost-device-i2c/Cargo.toml b/vhost-device-i2c/Cargo.toml index 103b95f..6193700 100644 --- a/vhost-device-i2c/Cargo.toml +++ b/vhost-device-i2c/Cargo.toml @@ -20,14 +20,14 @@ env_logger = "0.11" libc = "0.2" log = "0.4" thiserror = "1.0" -vhost = { version = "0.11", features = ["vhost-user-backend"] } -vhost-user-backend = "0.15" +vhost = { version = "0.12", features = ["vhost-user-backend"] } +vhost-user-backend = "0.16" virtio-bindings = "0.2.2" -virtio-queue = "0.12" -vm-memory = "0.14.1" +virtio-queue = "0.13" +vm-memory = "0.15.0" vmm-sys-util = "0.12" [dev-dependencies] assert_matches = "1.5" -virtio-queue = { version = "0.12", features = ["test-utils"] } -vm-memory = { version = "0.14.1", features = ["backend-mmap", "backend-atomic"] } +virtio-queue = { version = "0.13", features = ["test-utils"] } +vm-memory = { version = "0.15.0", features = ["backend-mmap", "backend-atomic"] } diff --git a/vhost-device-input/Cargo.toml b/vhost-device-input/Cargo.toml index a0d2303..dcbd599 100644 --- a/vhost-device-input/Cargo.toml +++ b/vhost-device-input/Cargo.toml @@ -22,16 +22,16 @@ log = "0.4" rand = "0.8.5" tempfile = "3.12" thiserror = "1.0" -vhost = { version = "0.11", features = ["vhost-user-backend"] } -vhost-user-backend = "0.15" +vhost = { version = "0.12", features = ["vhost-user-backend"] } +vhost-user-backend = "0.16" virtio-bindings = "0.2.2" -virtio-queue = "0.12" -vm-memory = "0.14.1" +virtio-queue = "0.13" +vm-memory = "0.15.0" vmm-sys-util = "0.12" evdev = "0.12" nix = { version = "0.29", features = ["ioctl"] } [dev-dependencies] assert_matches = "1.5" -virtio-queue = { version = "0.12", features = ["test-utils"] } -vm-memory = { version = "0.14", features = ["backend-mmap", "backend-atomic"] } +virtio-queue = { version = "0.13", features = ["test-utils"] } +vm-memory = { version = "0.15", features = ["backend-mmap", "backend-atomic"] } diff --git a/vhost-device-rng/Cargo.toml b/vhost-device-rng/Cargo.toml index b8c2370..77d5e72 100644 --- a/vhost-device-rng/Cargo.toml +++ b/vhost-device-rng/Cargo.toml @@ -21,14 +21,14 @@ log = "0.4" rand = "0.8.5" tempfile = "3.12" thiserror = "1.0" -vhost = { version = "0.11", features = ["vhost-user-backend"] } -vhost-user-backend = "0.15" +vhost = { version = "0.12", features = ["vhost-user-backend"] } +vhost-user-backend = "0.16" virtio-bindings = "0.2.2" -virtio-queue = "0.12" -vm-memory = "0.14.1" +virtio-queue = "0.13" +vm-memory = "0.15.0" vmm-sys-util = "0.12" [dev-dependencies] assert_matches = "1.5" -virtio-queue = { version = "0.12", features = ["test-utils"] } -vm-memory = { version = "0.14", features = ["backend-mmap", "backend-atomic"] } +virtio-queue = { version = "0.13", features = ["test-utils"] } +vm-memory = { version = "0.15", features = ["backend-mmap", "backend-atomic"] } diff --git a/vhost-device-scmi/Cargo.toml b/vhost-device-scmi/Cargo.toml index 505f501..24e7b38 100644 --- a/vhost-device-scmi/Cargo.toml +++ b/vhost-device-scmi/Cargo.toml @@ -15,13 +15,13 @@ env_logger = "0.11" itertools = "0.13" log = "0.4" thiserror = "1.0" -vhost = { version = "0.11", features = ["vhost-user-backend"] } -vhost-user-backend = "0.15" +vhost = { version = "0.12", features = ["vhost-user-backend"] } +vhost-user-backend = "0.16" virtio-bindings = "0.2" -virtio-queue = "0.12" -vm-memory = "0.14.1" +virtio-queue = "0.13" +vm-memory = "0.15.0" vmm-sys-util = "0.12" [dev-dependencies] assert_matches = "1.5" -virtio-queue = { version = "0.12", features = ["test-utils"] } +virtio-queue = { version = "0.13", features = ["test-utils"] } diff --git a/vhost-device-scsi/Cargo.toml b/vhost-device-scsi/Cargo.toml index 9ef4b91..2b63568 100644 --- a/vhost-device-scsi/Cargo.toml +++ b/vhost-device-scsi/Cargo.toml @@ -21,11 +21,11 @@ epoll = "4.3" log = "0.4" num_enum = "0.7" thiserror = "1.0" -vhost = { version = "0.11", features = ["vhost-user-backend"] } -vhost-user-backend = "0.15" +vhost = { version = "0.12", features = ["vhost-user-backend"] } +vhost-user-backend = "0.16" virtio-bindings = "0.2.2" -virtio-queue = "0.12" -vm-memory = "0.14.1" +virtio-queue = "0.13" +vm-memory = "0.15.0" vmm-sys-util = "0.12" [dev-dependencies] diff --git a/vhost-device-sound/Cargo.toml b/vhost-device-sound/Cargo.toml index 0ab3a0e..47bffc1 100644 --- a/vhost-device-sound/Cargo.toml +++ b/vhost-device-sound/Cargo.toml @@ -21,11 +21,11 @@ clap = { version = "4.5", features = ["derive"] } env_logger = "0.11" log = "0.4" thiserror = "1.0" -vhost = { version = "0.11", features = ["vhost-user-backend"] } -vhost-user-backend = "0.15" +vhost = { version = "0.12", features = ["vhost-user-backend"] } +vhost-user-backend = "0.16" virtio-bindings = "0.2.1" -virtio-queue = "0.12" -vm-memory = "0.14.1" +virtio-queue = "0.13" +vm-memory = "0.15.0" vmm-sys-util = "0.12" # Make alsa and pipewire backends available only on gnu @@ -36,5 +36,5 @@ pw = { package = "pipewire", version = "0.8", optional = true } [dev-dependencies] rstest = "0.19.0" tempfile = "3.12" -virtio-queue = { version = "0.12", features = ["test-utils"] } -vm-memory = { version = "0.14.1", features = ["backend-mmap", "backend-atomic"] } +virtio-queue = { version = "0.13", features = ["test-utils"] } +vm-memory = { version = "0.15.0", features = ["backend-mmap", "backend-atomic"] } diff --git a/vhost-device-spi/Cargo.toml b/vhost-device-spi/Cargo.toml index 716e5cf..22d7652 100644 --- a/vhost-device-spi/Cargo.toml +++ b/vhost-device-spi/Cargo.toml @@ -21,15 +21,15 @@ env_logger = "0.11" libc = "0.2" log = "0.4" thiserror = "1.0" -vhost = { version = "0.11", features = ["vhost-user-backend"] } -vhost-user-backend = "0.15" +vhost = { version = "0.12", features = ["vhost-user-backend"] } +vhost-user-backend = "0.16" virtio-bindings = "0.2.2" -virtio-queue = "0.12" -vm-memory = "0.14.1" +virtio-queue = "0.13" +vm-memory = "0.15.0" vmm-sys-util = "0.12" bitflags = "2.6.0" [dev-dependencies] assert_matches = "1.5" -virtio-queue = { version = "0.12", features = ["test-utils"] } -vm-memory = { version = "0.14.1", features = ["backend-mmap", "backend-atomic"] } +virtio-queue = { version = "0.13", features = ["test-utils"] } +vm-memory = { version = "0.15.0", features = ["backend-mmap", "backend-atomic"] } diff --git a/vhost-device-template/Cargo.toml b/vhost-device-template/Cargo.toml index e48ce72..0632c9b 100644 --- a/vhost-device-template/Cargo.toml +++ b/vhost-device-template/Cargo.toml @@ -21,14 +21,14 @@ env_logger = "0.11" libc = "0.2" log = "0.4" thiserror = "1.0" -vhost = { version = "0.11", features = ["vhost-user-backend"] } -vhost-user-backend = "0.15" +vhost = { version = "0.12", features = ["vhost-user-backend"] } +vhost-user-backend = "0.16" virtio-bindings = "0.2.2" -virtio-queue = "0.12" -vm-memory = "0.14.1" +virtio-queue = "0.13" +vm-memory = "0.15.0" vmm-sys-util = "0.12" [dev-dependencies] assert_matches = "1.5" -virtio-queue = { version = "0.12", features = ["test-utils"] } -vm-memory = { version = "0.14.1", features = ["backend-mmap", "backend-atomic"] } +virtio-queue = { version = "0.13", features = ["test-utils"] } +vm-memory = { version = "0.15.0", features = ["backend-mmap", "backend-atomic"] } diff --git a/vhost-device-vsock/Cargo.toml b/vhost-device-vsock/Cargo.toml index 345d249..2cf478e 100644 --- a/vhost-device-vsock/Cargo.toml +++ b/vhost-device-vsock/Cargo.toml @@ -21,12 +21,12 @@ env_logger = "0.11" epoll = "4.3.2" log = "0.4" thiserror = "1.0" -vhost = { version = "0.11", features = ["vhost-user-backend"] } -vhost-user-backend = "0.15" +vhost = { version = "0.12", features = ["vhost-user-backend"] } +vhost-user-backend = "0.16" virtio-bindings = "0.2.2" -virtio-queue = "0.12" -virtio-vsock = "0.6" -vm-memory = "0.14.1" +virtio-queue = "0.13" +virtio-vsock = "0.7" +vm-memory = "0.15.0" vmm-sys-util = "0.12" figment = { version = "0.10.19", features = ["yaml"] } vsock = { version = "0.5.0", optional = true } @@ -35,5 +35,5 @@ serde = { version = "1", features = ["derive"] } [dev-dependencies] assert_matches = "1.5" -virtio-queue = { version = "0.12", features = ["test-utils"] } +virtio-queue = { version = "0.13", features = ["test-utils"] } tempfile = "3.12.0"