mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
8fd8224ee3b8d1d7ec62e97c1eb04900eaf702b7
409 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
0ee3349889 |
net_util: remove MAX_INTERFACE_NAME_LEN
`MAX_INTERFACE_NAME_LEN` is equivalent to `libc::IFNAMSIZ`, so we use that instead of maintaining our own const. On-behalf-of: SAP julian.schindel@sap.com Signed-off-by: Julian Schindel <julian.schindel@cyberus-technology.de> |
||
|
|
35609ff777 |
net_util: queue_pair: Surface malformed descriptors on the used ring
Several error paths in process_desc_chain returned the error before calling queue.add_used for the offending descriptor. The affected variants were DescriptorChainInvalid, DescriptorChainTooShort, DescriptorInvalidHeader, and the GuestMemory variants raised during descriptor chain translation, slice retrieval, or the num_buffers write on the RX side. Without an entry in the used ring the head descriptor remained owned by the device. A guest that kept submitting bad chains could deplete the queue over time. Mark the head descriptor used with length 0 before propagating the error to the caller, so the ring stays consistent regardless of how the device decides to react to a guest induced failure. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com> |
||
|
|
945e1f2654 |
net_util: queue_pair: Handle RX short read gracefully
When readv returns fewer bytes than vnet_hdr_len the frame is truncated. Report the truncated length to the guest in the used ring instead of returning a fatal InvalidVirtioNetHeader error. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com> |
||
|
|
c71a8ea8dd |
net_util: queue_pair: Handle RX readv EINVAL gracefully
When readv from the TAP returns EINVAL the guest posted a buffer too small for the vnet_hdr. Return len 0 to the used ring and continue instead of killing the worker thread. Also move go_to_previous_position into the appropriate error branches only. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com> |
||
|
|
02ea839838 |
net_util: queue_pair: Handle TX short tap write gracefully
When writev returns fewer bytes than vnet_hdr_len the packet is truncated. Log the error and drop it instead of returning a fatal InvalidVirtioNetHeader error that would crash the worker thread. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com> |
||
|
|
17fefa1e45 |
net_util: queue_pair: Handle TX writev EINVAL gracefully
When writev to the TAP returns EINVAL the guest submitted a malformed packet. Drop it and continue instead of killing the worker thread. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com> |
||
|
|
2a6b746f5e |
net_util: replace as <pointer> casts with safer alternatives
`as` casts can change mutability, which quickly leads to undefined behavior. Signed-off-by: Julian Schindel <mail@arctic-alpaca.de> |
||
|
|
2a089db269 |
virtio-devices: net: Report correct used length on TX and ctrl
The virtio spec says the used-ring length is bytes the device wrote to device writable descriptors. The net TX descriptors are device readable only (the device wrote nothing back) so the length needs to be 0. On the ctrl queue the number of bytes reported was wrongly the size of the status descriptor not the number of bytes written (the descriptor is permitted to be larger). Signed-off-by: Rob Bradford <rbradford@meta.com> |
||
|
|
a6d3901f3e |
misc: return errors from IOMMU address translation instead of panicking
The address that is passed from the guest should be treated as
untrusted. Currently an invalid address will panic the VMM. This only
allows the guest to hurt itself, but we shouldn't have the VMM crashing.
Instead let's return an error if possible or invalidate the queue if it
happen during setup.
The data flow from guest to translate_gva/translate_gpa is:
1. Guest writes a raw u64 address into a virtio descriptor in the
shared descriptor table (guest memory).
2. The virtio-queue crate reads this descriptor via read_obj() and
returns the addr field as-is in a GuestAddress — no validation.
3. Device code calls .translate_gva(access_platform, len) on the
GuestAddress.
4. With IOMMU (access_platform is Some): the address is an IOVA that
must be translated to a GPA via the IOMMU mapping table. If the
guest provides an unmapped IOVA, translation returns Err.
Previously, .unwrap() here panicked the VMM.
5. Without IOMMU (access_platform is None): translate_gva is a no-op
(returns self). The raw address flows to GuestMemory::read_obj()
which validates it — out-of-range addresses return
Err(InvalidGuestAddress), so no host memory corruption is possible.
Signed-off-by: Dylan Reid <dgreid@fb.com>
|
||
|
|
7461143194 |
net_util: fix ctrl_queue used_len to only count written bytes
The control queue handler passed the total length of all descriptors (header + data + status) as used_len to add_used. Per virtio spec section 2.6.8, used_len must only count bytes written to device-writable descriptors. The device only writes the 1-byte status/ack field. Windows NetKVM >= 0.1.285 strictly checks this value and calls NdisMRemoveMiniport when len != sizeof(virtio_net_ctrl_ack), removing the network adapter immediately after activation. Signed-off-by: CMGS <ilskdw@gmail.com> |
||
|
|
c60168256a |
net_util: Tolerate some unsupported command classes
Windows NetKVM driver (>= 0.1.271) issues unsupported command classes even when they are not even advertised. According to the Virtio 1.2 specification: RX, VLAN, and ANNOUNCE control paths are only meaningful when their corresponding features are negotiated in sections 5.1.3.1, 5.1.6.5.1.2, 5.1.6.5.2.2, and 5.1.6.5.4.1. RX and VLAN are explicitly described as best-effort in sections 5.1.6.5.1 and 5.1.6.5.3. Instead of returning an error to the guest, return success to the guest. Fixes: #7925 Signed-off-by: Wei Liu <liuwe@microsoft.com> |
||
|
|
2b28c5b15a |
net_gen: replace net_gen with libc
The libc crate provides all functionality provided by the net_gen crate. Removing the net_gen crate reduces the maintenance burden. The switch to libc required some fixes, most notably the switch from a `Vec<u8>` to a `CString` for the `net_util::Tap.if_name` field. On-behalf-of: SAP julian.schindel@sap.com Signed-off-by: Julian Schindel <julian.schindel@cyberus-technology.de> |
||
|
|
a97348d24e |
net_util: Fix clippy errors related to use of String
error: this argument is passed by value, but not consumed in the function body
--> net_util/src/tap.rs:685:17
|
685 | ifname: String,
| ^^^^^^ help: consider changing the type to: `&str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
= note: requested on the command line with `-D clippy::needless-pass-by-value`
Signed-off-by: Rob Bradford <rbradford@meta.com>
|
||
|
|
563303b50a |
virtio-devices: net: handle corrupted requests with NEEDS_RESET
A buggy or malicious guest may write an inappropriate value into virtqueue's next_avail field. This will result in an error when iterating over the queue: https://github.com/rust-vmm/vm-virtio/blob/863837ef863f6880bb8357e60bbac49e72c0844c/virtio-queue/src/queue.rs#L708 but this error is (logged and) ignored if pop_descriptor_chain() is used: https://github.com/rust-vmm/vm-virtio/blob/863837ef863f6880bb8357e60bbac49e72c0844c/virtio-queue/src/queue.rs#L583 A reasonable approach, implemented here, is to mark the device as NEEDS_RESET and ignore further queue events until the guest reinitializes the device. How this patch was tested: Linux kernel was patched to trigger a bad next_avail when the virtqueue queue counter reaches 5000: --------------- START OF LINUX KERNEL PATCH ---------- $ git diff diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index b784aab668670..989f2a0c64a77 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -15,6 +15,9 @@ #include <linux/spinlock.h> #include <xen/xen.h> + +void virtqueue_kick_always(struct virtqueue *vq); + #ifdef DEBUG /* For development, we want to crash whenever the ring is screwed. */ #define BAD_RING(_vq, fmt, args...) \ @@ -677,6 +680,12 @@ static inline int virtqueue_add_split( struct virtqueue *_vq, * new available array entries. */ virtio_wmb(vq->weak_barriers); vq->split.avail_idx_shadow++; + { + if ((vq->split.avail_idx_shadow % 100) == 0) + printk(KERN_ERR "avail idx: %d", + (int)vq->split.avail_idx_shadow); + if (vq->split.avail_idx_shadow == 5000) + vq->split.avail_idx_shadow = 0; + } vq->split.vring.avail->idx = cpu_to_virtio16(_vq->vdev, vq->split.avail_idx_shadow); vq->num_added++; @@ -689,6 +698,11 @@ static inline int virtqueue_add_split( struct virtqueue *_vq, if (unlikely(vq->num_added == (1 << 16) - 1)) virtqueue_kick(_vq); + { + if (unlikely(vq->split.avail_idx_shadow == 0)) + virtqueue_kick_always(_vq); + } + return 0; unmap_release: @@ -2515,6 +2529,11 @@ bool virtqueue_kick(struct virtqueue *vq) } EXPORT_SYMBOL_GPL(virtqueue_kick); +void virtqueue_kick_always(struct virtqueue *vq) +{ + virtqueue_kick_prepare(vq); + virtqueue_notify(vq); +} /** * virtqueue_get_buf_ctx - get the next used buffer * @_vq: the struct virtqueue we're talking about. --------------- END OF LINUX KERNEL PATCH ---------- Then the kernel was booted, and the host pinged until the nic became unresponsive: ping -i 0.002 192.168.4.1 Device status was confirmed using cat /sys/class/net/eth0/device/status (it was 0x4f). Then the device was re-initialized: DEV_NAME=$(basename $(readlink -f /sys/class/net/eth0/device)) echo $DEV_NAME | tee /sys/bus/virtio/drivers/virtio_net/unbind echo $DEV_NAME | tee /sys/bus/virtio/drivers/virtio_net/bind ip link set eth0 up At this point networking became healthly again. Signed-off-by: Peter Oskolkov <posk@google.com> |
||
|
|
e265543e3c |
misc: make MSRV workspace-wide for cloud-hypervisor dependencies
Moves the MSRV requirement to the workspace and expands it to all cloud-hypervisor dependencies and dev-dependencies. This improves discoverability for new contributors working on crates other than the cloud-hypervisor itself and creates consistency regarding the MSRV of cloud-hypervisor dependencies. Functionally, this doesn't change anything for dependencies of the cloud-hypervisor crate as the MSRV requirement is already enforced by CI when building the cloud-hypervisor with the MSRV versioned compiler. On-behalf-of: SAP julian.schindel@sap.com Signed-off-by: Julian Schindel <julian.schindel@cyberus-technology.de> |
||
|
|
40768086b9 |
build: Bump the non-rust-vmm group across 2 directories with 15 updates
Bumps the non-rust-vmm group with 9 updates in the / directory: | Package | From | To | | --- | --- | --- | | [libc](https://github.com/rust-lang/libc) | `0.2.182` | `0.2.183` | | [uuid](https://github.com/uuid-rs/uuid) | `1.21.0` | `1.22.0` | | [zerocopy](https://github.com/google/zerocopy) | `0.8.40` | `0.8.42` | | [getrandom](https://github.com/rust-random/getrandom) | `0.4.1` | `0.4.2` | | [jiff](https://github.com/BurntSushi/jiff) | `0.2.22` | `0.2.23` | | [proc-macro-crate](https://github.com/bkchr/proc-macro-crate) | `3.4.0` | `3.5.0` | | [quote](https://github.com/dtolnay/quote) | `1.0.44` | `1.0.45` | | [uds_windows](https://github.com/haraldh/rust_uds_windows) | `1.1.0` | `1.2.0` | | [winnow](https://github.com/winnow-rs/winnow) | `0.7.14` | `0.7.15` | Bumps the non-rust-vmm group with 6 updates in the /fuzz directory: | Package | From | To | | --- | --- | --- | | [libc](https://github.com/rust-lang/libc) | `0.2.182` | `0.2.183` | | [uuid](https://github.com/uuid-rs/uuid) | `1.21.0` | `1.22.0` | | [zerocopy](https://github.com/google/zerocopy) | `0.8.40` | `0.8.42` | | [proc-macro-crate](https://github.com/bkchr/proc-macro-crate) | `3.4.0` | `3.5.0` | | [quote](https://github.com/dtolnay/quote) | `1.0.44` | `1.0.45` | | [winnow](https://github.com/winnow-rs/winnow) | `0.7.14` | `0.7.15` | Updates `libc` from 0.2.182 to 0.2.183 - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.183/CHANGELOG.md) - [Commits](https://github.com/rust-lang/libc/compare/0.2.182...0.2.183) Updates `uuid` from 1.21.0 to 1.22.0 - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/v1.21.0...v1.22.0) Updates `zerocopy` from 0.8.40 to 0.8.42 - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.8.40...v0.8.42) Updates `getrandom` from 0.4.1 to 0.4.2 - [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/getrandom/compare/v0.4.1...v0.4.2) Updates `jiff` from 0.2.22 to 0.2.23 - [Release notes](https://github.com/BurntSushi/jiff/releases) - [Changelog](https://github.com/BurntSushi/jiff/blob/master/CHANGELOG.md) - [Commits](https://github.com/BurntSushi/jiff/compare/jiff-static-0.2.22...jiff-static-0.2.23) Updates `jiff-static` from 0.2.22 to 0.2.23 - [Release notes](https://github.com/BurntSushi/jiff/releases) - [Changelog](https://github.com/BurntSushi/jiff/blob/master/CHANGELOG.md) - [Commits](https://github.com/BurntSushi/jiff/compare/jiff-static-0.2.22...jiff-static-0.2.23) Updates `proc-macro-crate` from 3.4.0 to 3.5.0 - [Release notes](https://github.com/bkchr/proc-macro-crate/releases) - [Commits](https://github.com/bkchr/proc-macro-crate/compare/v3.4.0...v3.5.0) Updates `quote` from 1.0.44 to 1.0.45 - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.44...1.0.45) Updates `rand_core` from 0.9.5 to 0.10.0 - [Release notes](https://github.com/rust-random/rand_core/releases) - [Changelog](https://github.com/rust-random/rand_core/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/rand_core/commits/v0.10.0) Updates `toml_datetime` from 0.7.5+spec-1.1.0 to 1.0.0+spec-1.1.0 - [Commits](https://github.com/toml-rs/toml/compare/toml_datetime-v0.7.5...toml_datetime-v1.0.0) Updates `toml_edit` from 0.23.10+spec-1.0.0 to 0.25.4+spec-1.1.0 - [Commits](https://github.com/toml-rs/toml/compare/v0.23.10...v0.25.4) Updates `uds_windows` from 1.1.0 to 1.2.0 - [Release notes](https://github.com/haraldh/rust_uds_windows/releases) - [Changelog](https://github.com/haraldh/rust_uds_windows/blob/master/CHANGELOG.md) - [Commits](https://github.com/haraldh/rust_uds_windows/compare/v1.1.0...v1.2.0) Updates `winnow` from 0.7.14 to 0.7.15 - [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md) - [Commits](https://github.com/winnow-rs/winnow/compare/v0.7.14...v0.7.15) Updates `zerocopy-derive` from 0.8.40 to 0.8.42 - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.8.40...v0.8.42) Updates `libc` from 0.2.182 to 0.2.183 - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.183/CHANGELOG.md) - [Commits](https://github.com/rust-lang/libc/compare/0.2.182...0.2.183) Updates `uuid` from 1.21.0 to 1.22.0 - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/v1.21.0...v1.22.0) Updates `zerocopy` from 0.8.40 to 0.8.42 - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.8.40...v0.8.42) Updates `rand` from 0.9.2 to 0.10.0 - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/rand/compare/rand_core-0.9.2...0.10.0) Updates `proc-macro-crate` from 3.4.0 to 3.5.0 - [Release notes](https://github.com/bkchr/proc-macro-crate/releases) - [Commits](https://github.com/bkchr/proc-macro-crate/compare/v3.4.0...v3.5.0) Updates `quote` from 1.0.44 to 1.0.45 - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.44...1.0.45) Updates `rand_core` from 0.9.5 to 0.10.0 - [Release notes](https://github.com/rust-random/rand_core/releases) - [Changelog](https://github.com/rust-random/rand_core/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/rand_core/commits/v0.10.0) Updates `toml_datetime` from 0.7.5+spec-1.1.0 to 1.0.0+spec-1.1.0 - [Commits](https://github.com/toml-rs/toml/compare/toml_datetime-v0.7.5...toml_datetime-v1.0.0) Updates `toml_edit` from 0.23.10+spec-1.0.0 to 0.25.4+spec-1.1.0 - [Commits](https://github.com/toml-rs/toml/compare/v0.23.10...v0.25.4) Updates `winnow` from 0.7.14 to 0.7.15 - [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md) - [Commits](https://github.com/winnow-rs/winnow/compare/v0.7.14...v0.7.15) Updates `zerocopy-derive` from 0.8.40 to 0.8.42 - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.8.40...v0.8.42) --- updated-dependencies: - dependency-name: libc dependency-version: 0.2.183 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: uuid dependency-version: 1.22.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: zerocopy dependency-version: 0.8.42 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: getrandom dependency-version: 0.4.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: jiff dependency-version: 0.2.23 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: jiff-static dependency-version: 0.2.23 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: proc-macro-crate dependency-version: 3.5.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: quote dependency-version: 1.0.45 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: rand_core dependency-version: 0.10.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: toml_datetime dependency-version: 1.0.0+spec-1.1.0 dependency-type: indirect update-type: version-update:semver-major dependency-group: non-rust-vmm - dependency-name: toml_edit dependency-version: 0.25.4+spec-1.1.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: uds_windows dependency-version: 1.2.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: winnow dependency-version: 0.7.15 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zerocopy-derive dependency-version: 0.8.42 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: libc dependency-version: 0.2.183 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: uuid dependency-version: 1.22.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: zerocopy dependency-version: 0.8.42 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: rand dependency-version: 0.10.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: proc-macro-crate dependency-version: 3.5.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: quote dependency-version: 1.0.45 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: rand_core dependency-version: 0.10.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: toml_datetime dependency-version: 1.0.0+spec-1.1.0 dependency-type: indirect update-type: version-update:semver-major dependency-group: non-rust-vmm - dependency-name: toml_edit dependency-version: 0.25.4+spec-1.1.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: winnow dependency-version: 0.7.15 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zerocopy-derive dependency-version: 0.8.42 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|
|
a702bf1d10 |
build: Bump the non-rust-vmm group across 2 directories with 19 updates
Includes fix for rand build error (need to use trait). Bumps the non-rust-vmm group with 15 updates in the / directory: | Package | From | To | | --- | --- | --- | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.100` | `1.0.101` | | [clap](https://github.com/clap-rs/clap) | `4.5.56` | `4.5.57` | | [libc](https://github.com/rust-lang/libc) | `0.2.180` | `0.2.181` | | [zerocopy](https://github.com/google/zerocopy) | `0.8.37` | `0.8.39` | | [flate2](https://github.com/rust-lang/flate2-rs) | `1.1.8` | `1.1.9` | | [getrandom](https://github.com/rust-random/getrandom) | `0.4.0` | `0.4.1` | | [rand](https://github.com/rust-random/rand) | `0.9.2` | `0.10.0` | | [jiff](https://github.com/BurntSushi/jiff) | `0.2.18` | `0.2.19` | | [memchr](https://github.com/BurntSushi/memchr) | `2.7.6` | `2.8.0` | | [regex](https://github.com/rust-lang/regex) | `1.12.2` | `1.12.3` | | [regex-automata](https://github.com/rust-lang/regex) | `0.4.13` | `0.4.14` | | [regex-syntax](https://github.com/rust-lang/regex) | `0.8.8` | `0.8.9` | | [tempfile](https://github.com/Stebalien/tempfile) | `3.24.0` | `3.25.0` | | [unicode-ident](https://github.com/dtolnay/unicode-ident) | `1.0.22` | `1.0.23` | | [zmij](https://github.com/dtolnay/zmij) | `1.0.19` | `1.0.20` | Bumps the non-rust-vmm group with 8 updates in the /fuzz directory: | Package | From | To | | --- | --- | --- | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.100` | `1.0.101` | | [clap](https://github.com/clap-rs/clap) | `4.5.56` | `4.5.57` | | [libc](https://github.com/rust-lang/libc) | `0.2.180` | `0.2.181` | | [zerocopy](https://github.com/google/zerocopy) | `0.8.37` | `0.8.39` | | [flate2](https://github.com/rust-lang/flate2-rs) | `1.1.8` | `1.1.9` | | [memchr](https://github.com/BurntSushi/memchr) | `2.7.6` | `2.8.0` | | [unicode-ident](https://github.com/dtolnay/unicode-ident) | `1.0.22` | `1.0.23` | | [zmij](https://github.com/dtolnay/zmij) | `1.0.19` | `1.0.20` | Updates `anyhow` from 1.0.100 to 1.0.101 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.100...1.0.101) Updates `clap` from 4.5.56 to 4.5.57 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.56...clap_complete-v4.5.57) Updates `libc` from 0.2.180 to 0.2.181 - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.181/CHANGELOG.md) - [Commits](https://github.com/rust-lang/libc/compare/0.2.180...0.2.181) Updates `zerocopy` from 0.8.37 to 0.8.39 - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.8.37...v0.8.39) Updates `flate2` from 1.1.8 to 1.1.9 - [Release notes](https://github.com/rust-lang/flate2-rs/releases) - [Commits](https://github.com/rust-lang/flate2-rs/compare/1.1.8...1.1.9) Updates `getrandom` from 0.4.0 to 0.4.1 - [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/getrandom/compare/v0.4.0...v0.4.1) Updates `rand` from 0.9.2 to 0.10.0 - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/rand/compare/rand_core-0.9.2...0.10.0) Updates `clap_builder` from 4.5.56 to 4.5.57 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.5.56...v4.5.57) Updates `jiff` from 0.2.18 to 0.2.19 - [Release notes](https://github.com/BurntSushi/jiff/releases) - [Changelog](https://github.com/BurntSushi/jiff/blob/master/CHANGELOG.md) - [Commits](https://github.com/BurntSushi/jiff/compare/jiff-static-0.2.18...jiff-static-0.2.19) Updates `jiff-static` from 0.2.18 to 0.2.19 - [Release notes](https://github.com/BurntSushi/jiff/releases) - [Changelog](https://github.com/BurntSushi/jiff/blob/master/CHANGELOG.md) - [Commits](https://github.com/BurntSushi/jiff/compare/jiff-static-0.2.18...jiff-static-0.2.19) Updates `memchr` from 2.7.6 to 2.8.0 - [Commits](https://github.com/BurntSushi/memchr/compare/2.7.6...2.8.0) Updates `regex` from 1.12.2 to 1.12.3 - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.12.2...1.12.3) Updates `regex-automata` from 0.4.13 to 0.4.14 - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/regex-automata-0.4.13...regex-automata-0.4.14) Updates `regex-syntax` from 0.8.8 to 0.8.9 - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/regex-syntax-0.8.8...regex-syntax-0.8.9) Updates `tempfile` from 3.24.0 to 3.25.0 - [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md) - [Commits](https://github.com/Stebalien/tempfile/commits) Updates `unicode-ident` from 1.0.22 to 1.0.23 - [Release notes](https://github.com/dtolnay/unicode-ident/releases) - [Commits](https://github.com/dtolnay/unicode-ident/compare/1.0.22...1.0.23) Updates `zerocopy-derive` from 0.8.37 to 0.8.39 - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.8.37...v0.8.39) Updates `zmij` from 1.0.19 to 1.0.20 - [Release notes](https://github.com/dtolnay/zmij/releases) - [Commits](https://github.com/dtolnay/zmij/compare/1.0.19...1.0.20) Updates `anyhow` from 1.0.100 to 1.0.101 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.100...1.0.101) Updates `clap` from 4.5.56 to 4.5.57 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.56...clap_complete-v4.5.57) Updates `libc` from 0.2.180 to 0.2.181 - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.181/CHANGELOG.md) - [Commits](https://github.com/rust-lang/libc/compare/0.2.180...0.2.181) Updates `zerocopy` from 0.8.37 to 0.8.39 - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.8.37...v0.8.39) Updates `flate2` from 1.1.8 to 1.1.9 - [Release notes](https://github.com/rust-lang/flate2-rs/releases) - [Commits](https://github.com/rust-lang/flate2-rs/compare/1.1.8...1.1.9) Updates `clap_builder` from 4.5.56 to 4.5.57 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.5.56...v4.5.57) Updates `hashbrown` from 0.16.1 to 0.15.5 - [Release notes](https://github.com/rust-lang/hashbrown/releases) - [Changelog](https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/hashbrown/compare/v0.16.1...v0.15.5) Updates `memchr` from 2.7.6 to 2.8.0 - [Commits](https://github.com/BurntSushi/memchr/compare/2.7.6...2.8.0) Updates `unicode-ident` from 1.0.22 to 1.0.23 - [Release notes](https://github.com/dtolnay/unicode-ident/releases) - [Commits](https://github.com/dtolnay/unicode-ident/compare/1.0.22...1.0.23) Updates `zerocopy-derive` from 0.8.37 to 0.8.39 - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.8.37...v0.8.39) Updates `zmij` from 1.0.19 to 1.0.20 - [Release notes](https://github.com/dtolnay/zmij/releases) - [Commits](https://github.com/dtolnay/zmij/compare/1.0.19...1.0.20) --- updated-dependencies: - dependency-name: anyhow dependency-version: 1.0.101 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: clap dependency-version: 4.5.57 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: libc dependency-version: 0.2.181 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zerocopy dependency-version: 0.8.39 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: flate2 dependency-version: 1.1.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: getrandom dependency-version: 0.4.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: rand dependency-version: 0.10.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: clap_builder dependency-version: 4.5.57 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: jiff dependency-version: 0.2.19 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: jiff-static dependency-version: 0.2.19 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: memchr dependency-version: 2.8.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: regex dependency-version: 1.12.3 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: regex-automata dependency-version: 0.4.14 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: regex-syntax dependency-version: 0.8.9 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: tempfile dependency-version: 3.25.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: unicode-ident dependency-version: 1.0.23 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zerocopy-derive dependency-version: 0.8.39 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zmij dependency-version: 1.0.20 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: anyhow dependency-version: 1.0.101 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: clap dependency-version: 4.5.57 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: libc dependency-version: 0.2.181 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zerocopy dependency-version: 0.8.39 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: flate2 dependency-version: 1.1.9 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: clap_builder dependency-version: 4.5.57 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: hashbrown dependency-version: 0.15.5 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: memchr dependency-version: 2.8.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: unicode-ident dependency-version: 1.0.23 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zerocopy-derive dependency-version: 0.8.39 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zmij dependency-version: 1.0.20 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Rob Bradford <rbradford@meta.com> |
||
|
|
57fd672db6 |
build: Bump the non-rust-vmm group across 2 directories with 14 updates
Bumps the non-rust-vmm group with 10 updates in the / directory: | Package | From | To | | --- | --- | --- | | [clap](https://github.com/clap-rs/clap) | `4.5.54` | `4.5.56` | | [zerocopy](https://github.com/google/zerocopy) | `0.8.34` | `0.8.37` | | [arc-swap](https://github.com/vorner/arc-swap) | `1.8.0` | `1.8.1` | | [getrandom](https://github.com/rust-random/getrandom) | `0.3.4` | `0.4.0` | | [cc](https://github.com/rust-lang/cc-rs) | `1.2.54` | `1.2.55` | | [openssl-src](https://github.com/alexcrichton/openssl-src-rs) | `300.5.4+3.5.4` | `300.5.5+3.5.5` | | [portable-atomic](https://github.com/taiki-e/portable-atomic) | `1.13.0` | `1.13.1` | | [portable-atomic-util](https://github.com/taiki-e/portable-atomic) | `0.2.4` | `0.2.5` | | [slab](https://github.com/tokio-rs/slab) | `0.4.11` | `0.4.12` | | [zmij](https://github.com/dtolnay/zmij) | `1.0.17` | `1.0.19` | Bumps the non-rust-vmm group with 5 updates in the /fuzz directory: | Package | From | To | | --- | --- | --- | | [clap](https://github.com/clap-rs/clap) | `4.5.54` | `4.5.56` | | [zerocopy](https://github.com/google/zerocopy) | `0.8.34` | `0.8.37` | | [arc-swap](https://github.com/vorner/arc-swap) | `1.8.0` | `1.8.1` | | [cc](https://github.com/rust-lang/cc-rs) | `1.2.54` | `1.2.55` | | [zmij](https://github.com/dtolnay/zmij) | `1.0.17` | `1.0.19` | Updates `clap` from 4.5.54 to 4.5.56 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.54...clap_complete-v4.5.56) Updates `zerocopy` from 0.8.34 to 0.8.37 - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.8.34...v0.8.37) Updates `arc-swap` from 1.8.0 to 1.8.1 - [Changelog](https://github.com/vorner/arc-swap/blob/master/CHANGELOG.md) - [Commits](https://github.com/vorner/arc-swap/compare/v1.8.0...v1.8.1) Updates `getrandom` from 0.3.4 to 0.4.0 - [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/getrandom/compare/v0.3.4...v0.4.0) Updates `cc` from 1.2.54 to 1.2.55 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.54...cc-v1.2.55) Updates `clap_builder` from 4.5.54 to 4.5.56 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.5.54...v4.5.56) Updates `find-msvc-tools` from 0.1.8 to 0.1.9 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/find-msvc-tools-v0.1.8...find-msvc-tools-v0.1.9) Updates `hashbrown` from 0.16.1 to 0.15.5 - [Release notes](https://github.com/rust-lang/hashbrown/releases) - [Changelog](https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/hashbrown/compare/v0.16.1...v0.15.5) Updates `openssl-src` from 300.5.4+3.5.4 to 300.5.5+3.5.5 - [Release notes](https://github.com/alexcrichton/openssl-src-rs/releases) - [Commits](https://github.com/alexcrichton/openssl-src-rs/commits) Updates `portable-atomic` from 1.13.0 to 1.13.1 - [Release notes](https://github.com/taiki-e/portable-atomic/releases) - [Changelog](https://github.com/taiki-e/portable-atomic/blob/main/CHANGELOG.md) - [Commits](https://github.com/taiki-e/portable-atomic/compare/v1.13.0...v1.13.1) Updates `portable-atomic-util` from 0.2.4 to 0.2.5 - [Release notes](https://github.com/taiki-e/portable-atomic/releases) - [Changelog](https://github.com/taiki-e/portable-atomic/blob/main/CHANGELOG.md) - [Commits](https://github.com/taiki-e/portable-atomic/compare/portable-atomic-util-0.2.4...portable-atomic-util-0.2.5) Updates `slab` from 0.4.11 to 0.4.12 - [Release notes](https://github.com/tokio-rs/slab/releases) - [Changelog](https://github.com/tokio-rs/slab/blob/master/CHANGELOG.md) - [Commits](https://github.com/tokio-rs/slab/compare/v0.4.11...v0.4.12) Updates `zerocopy-derive` from 0.8.34 to 0.8.37 - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.8.34...v0.8.37) Updates `zmij` from 1.0.17 to 1.0.19 - [Release notes](https://github.com/dtolnay/zmij/releases) - [Commits](https://github.com/dtolnay/zmij/compare/1.0.17...1.0.19) Updates `clap` from 4.5.54 to 4.5.56 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.54...clap_complete-v4.5.56) Updates `zerocopy` from 0.8.34 to 0.8.37 - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.8.34...v0.8.37) Updates `arc-swap` from 1.8.0 to 1.8.1 - [Changelog](https://github.com/vorner/arc-swap/blob/master/CHANGELOG.md) - [Commits](https://github.com/vorner/arc-swap/compare/v1.8.0...v1.8.1) Updates `cc` from 1.2.54 to 1.2.55 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.54...cc-v1.2.55) Updates `clap_builder` from 4.5.54 to 4.5.56 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.5.54...v4.5.56) Updates `find-msvc-tools` from 0.1.8 to 0.1.9 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/find-msvc-tools-v0.1.8...find-msvc-tools-v0.1.9) Updates `zerocopy-derive` from 0.8.34 to 0.8.37 - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.8.34...v0.8.37) Updates `zmij` from 1.0.17 to 1.0.19 - [Release notes](https://github.com/dtolnay/zmij/releases) - [Commits](https://github.com/dtolnay/zmij/compare/1.0.17...1.0.19) --- updated-dependencies: - dependency-name: clap dependency-version: 4.5.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zerocopy dependency-version: 0.8.37 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: arc-swap dependency-version: 1.8.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: getrandom dependency-version: 0.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: cc dependency-version: 1.2.55 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: clap_builder dependency-version: 4.5.56 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: find-msvc-tools dependency-version: 0.1.9 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: hashbrown dependency-version: 0.15.5 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: openssl-src dependency-version: 300.5.5+3.5.5 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: portable-atomic dependency-version: 1.13.1 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: portable-atomic-util dependency-version: 0.2.5 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: slab dependency-version: 0.4.12 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zerocopy-derive dependency-version: 0.8.37 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zmij dependency-version: 1.0.19 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: clap dependency-version: 4.5.56 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zerocopy dependency-version: 0.8.37 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: arc-swap dependency-version: 1.8.1 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: cc dependency-version: 1.2.55 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: clap_builder dependency-version: 4.5.56 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: find-msvc-tools dependency-version: 0.1.9 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zerocopy-derive dependency-version: 0.8.37 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zmij dependency-version: 1.0.19 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|
|
aca7b01c6b |
net_util: Fix MAC address parsing
It wrongly allowed addresses containing a + instead of a hex character. Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com> |
||
|
|
0a07c96d17 |
misc: clippy: add if_not_else
This removes cognitive load when reading if statements. All changes were applied by clippy via `--fix`. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
4e93f85ab1 |
build: Bump the non-rust-vmm group across 2 directories with 38 updates
Bumps the non-rust-vmm group with 28 updates in the / directory: | Package | From | To | | --- | --- | --- | | [zbus](https://github.com/z-galaxy/zbus) | `5.11.0` | `5.12.0` | | [serde_with](https://github.com/jonasbb/serde_with) | `3.15.0` | `3.16.0` | | [bitflags](https://github.com/bitflags/bitflags) | `2.9.4` | `2.10.0` | | [cfg-if](https://github.com/rust-lang/cfg-if) | `1.0.3` | `1.0.4` | | [clap](https://github.com/clap-rs/clap) | `4.5.49` | `4.5.53` | | [zerocopy](https://github.com/google/zerocopy) | `0.8.27` | `0.8.30` | | [io-uring](https://github.com/tokio-rs/io-uring) | `0.7.10` | `0.7.11` | | [num_enum](https://github.com/illicitonion/num_enum) | `0.7.4` | `0.7.5` | | [getrandom](https://github.com/rust-random/getrandom) | `0.3.3` | `0.3.4` | | [landlock](https://github.com/landlock-lsm/rust-landlock) | `0.4.3` | `0.4.4` | | [aho-corasick](https://github.com/BurntSushi/aho-corasick) | `1.1.3` | `1.1.4` | | [anstyle-query](https://github.com/rust-cli/anstyle) | `1.1.4` | `1.1.5` | | [anstyle-wincon](https://github.com/rust-cli/anstyle) | `3.0.10` | `3.0.11` | | [cc](https://github.com/rust-lang/cc-rs) | `1.2.41` | `1.2.47` | | [hashbrown](https://github.com/rust-lang/hashbrown) | `0.16.0` | `0.16.1` | | [indexmap](https://github.com/indexmap-rs/indexmap) | `2.11.4` | `2.12.1` | | [is_terminal_polyfill](https://github.com/polyfill-rs/is_terminal_polyfill) | `1.70.1` | `1.70.2` | | [jiff](https://github.com/BurntSushi/jiff) | `0.2.15` | `0.2.16` | | [libz-sys](https://github.com/rust-lang/libz-sys) | `1.1.22` | `1.1.23` | | [once_cell_polyfill](https://github.com/polyfill-rs/once_cell_polyfill) | `1.70.1` | `1.70.2` | | [openssl-src](https://github.com/alexcrichton/openssl-src-rs) | `300.5.3+3.5.4` | `300.5.4+3.5.4` | | [openssl-sys](https://github.com/rust-openssl/rust-openssl) | `0.9.109` | `0.9.111` | | [proc-macro2](https://github.com/dtolnay/proc-macro2) | `1.0.101` | `1.0.103` | | [quote](https://github.com/dtolnay/quote) | `1.0.41` | `1.0.42` | | [signal-hook-registry](https://github.com/vorner/signal-hook) | `1.4.6` | `1.4.7` | | [syn](https://github.com/dtolnay/syn) | `2.0.106` | `2.0.111` | | [unicode-ident](https://github.com/dtolnay/unicode-ident) | `1.0.19` | `1.0.22` | | [zvariant](https://github.com/dbus2/zbus) | `5.7.0` | `5.8.0` | Bumps the non-rust-vmm group with 20 updates in the /fuzz directory: | Package | From | To | | --- | --- | --- | | [serde_with](https://github.com/jonasbb/serde_with) | `3.15.0` | `3.16.0` | | [bitflags](https://github.com/bitflags/bitflags) | `2.9.4` | `2.10.0` | | [cfg-if](https://github.com/rust-lang/cfg-if) | `1.0.3` | `1.0.4` | | [clap](https://github.com/clap-rs/clap) | `4.5.49` | `4.5.53` | | [zerocopy](https://github.com/google/zerocopy) | `0.8.27` | `0.8.30` | | [num_enum](https://github.com/illicitonion/num_enum) | `0.7.4` | `0.7.5` | | [landlock](https://github.com/landlock-lsm/rust-landlock) | `0.4.3` | `0.4.4` | | [anstyle-query](https://github.com/rust-cli/anstyle) | `1.1.4` | `1.1.5` | | [anstyle-wincon](https://github.com/rust-cli/anstyle) | `3.0.10` | `3.0.11` | | [cc](https://github.com/rust-lang/cc-rs) | `1.2.41` | `1.2.47` | | [hashbrown](https://github.com/rust-lang/hashbrown) | `0.16.0` | `0.16.1` | | [indexmap](https://github.com/indexmap-rs/indexmap) | `2.11.4` | `2.12.1` | | [is_terminal_polyfill](https://github.com/polyfill-rs/is_terminal_polyfill) | `1.70.1` | `1.70.2` | | [once_cell_polyfill](https://github.com/polyfill-rs/once_cell_polyfill) | `1.70.1` | `1.70.2` | | [proc-macro2](https://github.com/dtolnay/proc-macro2) | `1.0.101` | `1.0.103` | | [quote](https://github.com/dtolnay/quote) | `1.0.41` | `1.0.42` | | [signal-hook-registry](https://github.com/vorner/signal-hook) | `1.4.6` | `1.4.7` | | [syn](https://github.com/dtolnay/syn) | `2.0.106` | `2.0.111` | | [unicode-ident](https://github.com/dtolnay/unicode-ident) | `1.0.19` | `1.0.22` | | [windows-sys](https://github.com/microsoft/windows-rs) | `0.60.2` | `0.61.2` | Updates `zbus` from 5.11.0 to 5.12.0 - [Release notes](https://github.com/z-galaxy/zbus/releases) - [Commits](https://github.com/z-galaxy/zbus/compare/zbus-5.11.0...zbus-5.12.0) Updates `serde_with` from 3.15.0 to 3.16.0 - [Release notes](https://github.com/jonasbb/serde_with/releases) - [Commits](https://github.com/jonasbb/serde_with/compare/v3.15.0...v3.16.0) Updates `bitflags` from 2.9.4 to 2.10.0 - [Release notes](https://github.com/bitflags/bitflags/releases) - [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md) - [Commits](https://github.com/bitflags/bitflags/compare/2.9.4...2.10.0) Updates `cfg-if` from 1.0.3 to 1.0.4 - [Release notes](https://github.com/rust-lang/cfg-if/releases) - [Changelog](https://github.com/rust-lang/cfg-if/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cfg-if/compare/v1.0.3...v1.0.4) Updates `clap` from 4.5.49 to 4.5.53 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.49...clap_complete-v4.5.53) Updates `zerocopy` from 0.8.27 to 0.8.30 - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.8.27...v0.8.30) Updates `io-uring` from 0.7.10 to 0.7.11 - [Commits](https://github.com/tokio-rs/io-uring/commits/v0.7.11) Updates `num_enum` from 0.7.4 to 0.7.5 - [Commits](https://github.com/illicitonion/num_enum/compare/0.7.4...0.7.5) Updates `getrandom` from 0.3.3 to 0.3.4 - [Release notes](https://github.com/rust-random/getrandom/releases) - [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/getrandom/compare/v0.3.3...v0.3.4) Updates `landlock` from 0.4.3 to 0.4.4 - [Release notes](https://github.com/landlock-lsm/rust-landlock/releases) - [Changelog](https://github.com/landlock-lsm/rust-landlock/blob/main/CHANGELOG.md) - [Commits](https://github.com/landlock-lsm/rust-landlock/compare/v0.4.3...v0.4.4) Updates `aho-corasick` from 1.1.3 to 1.1.4 - [Commits](https://github.com/BurntSushi/aho-corasick/compare/1.1.3...1.1.4) Updates `anstyle-query` from 1.1.4 to 1.1.5 - [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-query-v1.1.4...anstyle-query-v1.1.5) Updates `anstyle-wincon` from 3.0.10 to 3.0.11 - [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-wincon-v3.0.10...anstyle-wincon-v3.0.11) Updates `cc` from 1.2.41 to 1.2.47 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.41...cc-v1.2.47) Updates `clap_builder` from 4.5.49 to 4.5.53 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.5.49...v4.5.53) Updates `find-msvc-tools` from 0.1.4 to 0.1.5 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/find-msvc-tools-v0.1.4...find-msvc-tools-v0.1.5) Updates `hashbrown` from 0.16.0 to 0.16.1 - [Release notes](https://github.com/rust-lang/hashbrown/releases) - [Changelog](https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/hashbrown/compare/v0.16.0...v0.16.1) Updates `indexmap` from 2.11.4 to 2.12.1 - [Changelog](https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md) - [Commits](https://github.com/indexmap-rs/indexmap/compare/2.11.4...2.12.1) Updates `is_terminal_polyfill` from 1.70.1 to 1.70.2 - [Changelog](https://github.com/polyfill-rs/is_terminal_polyfill/blob/main-v1.70/CHANGELOG.md) - [Commits](https://github.com/polyfill-rs/is_terminal_polyfill/compare/v1.70.1...v1.70.2) Updates `jiff` from 0.2.15 to 0.2.16 - [Release notes](https://github.com/BurntSushi/jiff/releases) - [Changelog](https://github.com/BurntSushi/jiff/blob/master/CHANGELOG.md) - [Commits](https://github.com/BurntSushi/jiff/compare/jiff-static-0.2.15...jiff-static-0.2.16) Updates `jiff-static` from 0.2.15 to 0.2.16 - [Release notes](https://github.com/BurntSushi/jiff/releases) - [Changelog](https://github.com/BurntSushi/jiff/blob/master/CHANGELOG.md) - [Commits](https://github.com/BurntSushi/jiff/compare/jiff-static-0.2.15...jiff-static-0.2.16) Updates `libz-sys` from 1.1.22 to 1.1.23 - [Release notes](https://github.com/rust-lang/libz-sys/releases) - [Commits](https://github.com/rust-lang/libz-sys/compare/1.1.22...1.1.23) Updates `num_enum_derive` from 0.7.4 to 0.7.5 - [Commits](https://github.com/illicitonion/num_enum/compare/0.7.4...0.7.5) Updates `once_cell_polyfill` from 1.70.1 to 1.70.2 - [Changelog](https://github.com/polyfill-rs/once_cell_polyfill/blob/v1.70.2/CHANGELOG.md) - [Commits](https://github.com/polyfill-rs/once_cell_polyfill/compare/v1.70.1...v1.70.2) Updates `openssl-src` from 300.5.3+3.5.4 to 300.5.4+3.5.4 - [Release notes](https://github.com/alexcrichton/openssl-src-rs/releases) - [Commits](https://github.com/alexcrichton/openssl-src-rs/commits) Updates `openssl-sys` from 0.9.109 to 0.9.111 - [Release notes](https://github.com/rust-openssl/rust-openssl/releases) - [Commits](https://github.com/rust-openssl/rust-openssl/compare/openssl-sys-v0.9.109...openssl-sys-v0.9.111) Updates `proc-macro2` from 1.0.101 to 1.0.103 - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.101...1.0.103) Updates `quote` from 1.0.41 to 1.0.42 - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.41...1.0.42) Updates `serde_with_macros` from 3.15.0 to 3.16.0 - [Release notes](https://github.com/jonasbb/serde_with/releases) - [Commits](https://github.com/jonasbb/serde_with/compare/v3.15.0...v3.16.0) Updates `signal-hook-registry` from 1.4.6 to 1.4.7 - [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md) - [Commits](https://github.com/vorner/signal-hook/compare/registry-v1.4.6...registry-v1.4.7) Updates `syn` from 2.0.106 to 2.0.111 - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/2.0.106...2.0.111) Updates `unicode-ident` from 1.0.19 to 1.0.22 - [Release notes](https://github.com/dtolnay/unicode-ident/releases) - [Commits](https://github.com/dtolnay/unicode-ident/compare/1.0.19...1.0.22) Updates `zbus_macros` from 5.11.0 to 5.12.0 - [Release notes](https://github.com/z-galaxy/zbus/releases) - [Commits](https://github.com/z-galaxy/zbus/compare/zbus-5.11.0...zbus-5.12.0) Updates `zerocopy-derive` from 0.8.27 to 0.8.30 - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.8.27...v0.8.30) Updates `zvariant` from 5.7.0 to 5.8.0 - [Release notes](https://github.com/dbus2/zbus/releases) - [Commits](https://github.com/dbus2/zbus/compare/zvariant-5.7.0...zvariant-5.8.0) Updates `zvariant_derive` from 5.7.0 to 5.8.0 - [Release notes](https://github.com/dbus2/zbus/releases) - [Commits](https://github.com/dbus2/zbus/compare/zbus-5.7.0...zbus-5.8.0) Updates `serde_with` from 3.15.0 to 3.16.0 - [Release notes](https://github.com/jonasbb/serde_with/releases) - [Commits](https://github.com/jonasbb/serde_with/compare/v3.15.0...v3.16.0) Updates `bitflags` from 2.9.4 to 2.10.0 - [Release notes](https://github.com/bitflags/bitflags/releases) - [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md) - [Commits](https://github.com/bitflags/bitflags/compare/2.9.4...2.10.0) Updates `cfg-if` from 1.0.3 to 1.0.4 - [Release notes](https://github.com/rust-lang/cfg-if/releases) - [Changelog](https://github.com/rust-lang/cfg-if/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cfg-if/compare/v1.0.3...v1.0.4) Updates `clap` from 4.5.49 to 4.5.53 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.49...clap_complete-v4.5.53) Updates `zerocopy` from 0.8.27 to 0.8.30 - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.8.27...v0.8.30) Updates `bitfield-struct` from 0.11.0 to 0.12.1 - [Release notes](https://github.com/wrenger/bitfield-struct-rs/releases) - [Commits](https://github.com/wrenger/bitfield-struct-rs/compare/0.11.0...0.12.1) Updates `num_enum` from 0.7.4 to 0.7.5 - [Commits](https://github.com/illicitonion/num_enum/compare/0.7.4...0.7.5) Updates `landlock` from 0.4.3 to 0.4.4 - [Release notes](https://github.com/landlock-lsm/rust-landlock/releases) - [Changelog](https://github.com/landlock-lsm/rust-landlock/blob/main/CHANGELOG.md) - [Commits](https://github.com/landlock-lsm/rust-landlock/compare/v0.4.3...v0.4.4) Updates `anstyle-query` from 1.1.4 to 1.1.5 - [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-query-v1.1.4...anstyle-query-v1.1.5) Updates `anstyle-wincon` from 3.0.10 to 3.0.11 - [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-wincon-v3.0.10...anstyle-wincon-v3.0.11) Updates `cc` from 1.2.41 to 1.2.47 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.41...cc-v1.2.47) Updates `clap_builder` from 4.5.49 to 4.5.53 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.5.49...v4.5.53) Updates `find-msvc-tools` from 0.1.4 to 0.1.5 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/find-msvc-tools-v0.1.4...find-msvc-tools-v0.1.5) Updates `hashbrown` from 0.16.0 to 0.16.1 - [Release notes](https://github.com/rust-lang/hashbrown/releases) - [Changelog](https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/hashbrown/compare/v0.16.0...v0.16.1) Updates `indexmap` from 2.11.4 to 2.12.1 - [Changelog](https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md) - [Commits](https://github.com/indexmap-rs/indexmap/compare/2.11.4...2.12.1) Updates `is_terminal_polyfill` from 1.70.1 to 1.70.2 - [Changelog](https://github.com/polyfill-rs/is_terminal_polyfill/blob/main-v1.70/CHANGELOG.md) - [Commits](https://github.com/polyfill-rs/is_terminal_polyfill/compare/v1.70.1...v1.70.2) Updates `num_enum_derive` from 0.7.4 to 0.7.5 - [Commits](https://github.com/illicitonion/num_enum/compare/0.7.4...0.7.5) Updates `once_cell_polyfill` from 1.70.1 to 1.70.2 - [Changelog](https://github.com/polyfill-rs/once_cell_polyfill/blob/v1.70.2/CHANGELOG.md) - [Commits](https://github.com/polyfill-rs/once_cell_polyfill/compare/v1.70.1...v1.70.2) Updates `proc-macro2` from 1.0.101 to 1.0.103 - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.101...1.0.103) Updates `quote` from 1.0.41 to 1.0.42 - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.41...1.0.42) Updates `serde_with_macros` from 3.15.0 to 3.16.0 - [Release notes](https://github.com/jonasbb/serde_with/releases) - [Commits](https://github.com/jonasbb/serde_with/compare/v3.15.0...v3.16.0) Updates `signal-hook-registry` from 1.4.6 to 1.4.7 - [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md) - [Commits](https://github.com/vorner/signal-hook/compare/registry-v1.4.6...registry-v1.4.7) Updates `syn` from 2.0.106 to 2.0.111 - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/2.0.106...2.0.111) Updates `unicode-ident` from 1.0.19 to 1.0.22 - [Release notes](https://github.com/dtolnay/unicode-ident/releases) - [Commits](https://github.com/dtolnay/unicode-ident/compare/1.0.19...1.0.22) Updates `windows-sys` from 0.60.2 to 0.61.2 - [Release notes](https://github.com/microsoft/windows-rs/releases) - [Commits](https://github.com/microsoft/windows-rs/commits) Updates `zerocopy-derive` from 0.8.27 to 0.8.30 - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.8.27...v0.8.30) --- updated-dependencies: - dependency-name: zbus dependency-version: 5.12.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: serde_with dependency-version: 3.16.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: bitflags dependency-version: 2.10.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: cfg-if dependency-version: 1.0.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: clap dependency-version: 4.5.53 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zerocopy dependency-version: 0.8.30 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: io-uring dependency-version: 0.7.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: num_enum dependency-version: 0.7.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: getrandom dependency-version: 0.3.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: landlock dependency-version: 0.4.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: aho-corasick dependency-version: 1.1.4 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: anstyle-query dependency-version: 1.1.5 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: anstyle-wincon dependency-version: 3.0.11 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: cc dependency-version: 1.2.47 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: clap_builder dependency-version: 4.5.53 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: find-msvc-tools dependency-version: 0.1.5 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: hashbrown dependency-version: 0.16.1 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: indexmap dependency-version: 2.12.1 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: is_terminal_polyfill dependency-version: 1.70.2 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: jiff dependency-version: 0.2.16 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: jiff-static dependency-version: 0.2.16 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: libz-sys dependency-version: 1.1.23 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: num_enum_derive dependency-version: 0.7.5 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: once_cell_polyfill dependency-version: 1.70.2 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: openssl-src dependency-version: 300.5.4+3.5.4 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: openssl-sys dependency-version: 0.9.111 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: proc-macro2 dependency-version: 1.0.103 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: quote dependency-version: 1.0.42 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: serde_with_macros dependency-version: 3.16.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: signal-hook-registry dependency-version: 1.4.7 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: syn dependency-version: 2.0.111 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: unicode-ident dependency-version: 1.0.22 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zbus_macros dependency-version: 5.12.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: zerocopy-derive dependency-version: 0.8.30 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zvariant dependency-version: 5.8.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: zvariant_derive dependency-version: 5.8.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: serde_with dependency-version: 3.16.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: bitflags dependency-version: 2.10.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: cfg-if dependency-version: 1.0.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: clap dependency-version: 4.5.53 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: zerocopy dependency-version: 0.8.30 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: bitfield-struct dependency-version: 0.12.1 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: num_enum dependency-version: 0.7.5 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: landlock dependency-version: 0.4.4 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: anstyle-query dependency-version: 1.1.5 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: anstyle-wincon dependency-version: 3.0.11 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: cc dependency-version: 1.2.47 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: clap_builder dependency-version: 4.5.53 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: find-msvc-tools dependency-version: 0.1.5 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: hashbrown dependency-version: 0.16.1 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: indexmap dependency-version: 2.12.1 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: is_terminal_polyfill dependency-version: 1.70.2 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: num_enum_derive dependency-version: 0.7.5 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: once_cell_polyfill dependency-version: 1.70.2 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: proc-macro2 dependency-version: 1.0.103 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: quote dependency-version: 1.0.42 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: serde_with_macros dependency-version: 3.16.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: signal-hook-registry dependency-version: 1.4.7 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: syn dependency-version: 2.0.111 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: unicode-ident dependency-version: 1.0.22 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm - dependency-name: windows-sys dependency-version: 0.61.2 dependency-type: indirect update-type: version-update:semver-minor dependency-group: non-rust-vmm - dependency-name: zerocopy-derive dependency-version: 0.8.30 dependency-type: indirect update-type: version-update:semver-patch dependency-group: non-rust-vmm ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|
|
492f24c632 |
misc: net_util: drop extern crate, use modern rust
This commit is part of a series of similar commits. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
2be304b392 |
misc: Check that get_slice() returned a big enough slice
This should be guaranteed by GuestMemory and GuestMemoryRegion, but those traits are currently safe, so add checks to guard against incorrect implementations of them. Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com> |
||
|
|
b4c62bf159 |
misc: clippy: add semicolon_if_nothing_returned
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
7cb73e9e56 |
misc: clippy: add unnecessary_semicolon
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
e160a17131 |
net_util: unrelated code improvement
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
d1680b9ff9 |
tests: streamline module names to unit_tests
This better aligns with the rest of the code and makes it clearer that these tests can run "as is" in a normal hosted environments without the special test environment. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
c990f1bdaa |
tests: enable cargo test --workspace + #[cfg(devcli_testenv)]
TL;DR: Massive quality of life improvement for devs Cloud Hypervisor uses the Cargo test framework for multiple tests: - normal unit tests - unit tests requiring special environment (the Tap device tests) - integration tests requiring a special environment This prevented the execution of `cargo test --workspace`, which results in a very poor developer experience. Although `./scripts/run_unit_tests.sh` exists, there are valid reasons why devs cannot or even don't want to use it. By adding a new `chv_testenv` rustc config, we can conditionally only activate tests when the `./scripts/` magic runs them. This improves the general developer experience by a lot. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
e4fd066d82 |
misc: improve developer experience of cargo clippy
A major improvement to the developer experience of clippy in Cloud Hypervisor. 1. Make `cargo clippy` just work with the same lints we use in CI 2. Simplify adding new lints Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
7536a95424 |
misc: cleanup &Arc<dyn T> -> &dyn T
Consuming `&Arc<T>` as argument is almost always an antipattern as it hides whether the callee is going to take over (shared) ownership (by .clone()) or not. Instead, it is better to consume `&dyn T` or `Arc<dyn T>` to be more explicit. This commit cleans up the code. The change is very mechanic and was very easy to implement across the code base. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
f2dfa7f6e0 |
misc: Use variables directly in format! string
Fix clippy warning `uninlined_format_args` reported by rustc rustc
1.89.0 (29483883e 2025-08-04).
```console
warning: variables can be used directly in the `format!` string
--> block/src/lib.rs:649:17
|
649 | info!("{} failed to create io_uring instance: {}", error_msg, e);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `#[warn(clippy::uninlined_format_args)]` on by default
help: change this to
|
649 - info!("{} failed to create io_uring instance: {}", error_msg, e);
649 + info!("{error_msg} failed to create io_uring instance: {e}");
|
```
Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
|
||
|
|
c995b72384 |
build: treewide: clippy: collapse nested ifs, use let chains
This bumps the MSRV to 1.88 (also, Rust edition 2024 is mandatory). Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
363273111a |
build: treewide: fmt for edition 2024
`cargo +nightly fmt` Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
061351d82d |
build: upgrade whole* workspace to Rust edition 2024
This upgrades the Cargo workspace to Rust edition 2024 to keep the code base clean and up to date. The commit only contains the adjustments to the Cargo.toml files and basic compiler error fixes. Also, this commit includes new SAFETY comments as discussed in [1]. The changes were not automatically fixed by `cargo fix --edition` but needed manual adjustments. Apart from that, all formatting and clippy adjustments follow in subsequent commits. * As only exception, workspace member net_gen sticks to edition 2021 for now as discussed in [0]. [0] https://github.com/cloud-hypervisor/cloud-hypervisor/pull/7295#discussion_r2310851041 [1] https://github.com/cloud-hypervisor/cloud-hypervisor/pull/7256#issuecomment-3271888674 Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
c3a809696a |
docs: add Safety section to unsafe functions
This step was done manually by searching for "unsafe fn" in the code base and adding corresponding Safety sections. `clippy::missing_safety_doc` only works for public functions but none of the corresponding functions is public. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
a51998605a |
net_util: add Tap::if_name_as_str
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
b8be33dff7 |
net_util: tap: remove needless copy
One can call `to_vec()` anyway if one needs an owned copy. This change further helps to prevent needless copies in upcoming changes. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
8c136041cb |
build: Use workspace dependencies
Many of the workspace members in the Cloud-hypervisor workspace share common dependencies. Making these workspace dependencies reduces duplication and improves maintainability. Signed-off-by: Oliver Anderson <oliver.anderson@cyberus-technology.de> On-behalf-of: SAP oliver.anderson@sap.com |
||
|
|
48b67ed03b |
net_util: code readability improvements
Small cleanup to improve code readability. Specifically, refactoring a huge loop body into a function call. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
e0f0065cbd |
net_util: improve Error types
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
8338fa642f |
net_util: Drop duplicated virtio_features_to_tap_offload
The virtio_features_to_tap_offload() defined in ctrl_queue.rs is duplicated. Remove it and use the one defined in lib.rs instead. Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com> |
||
|
|
4182ef91e0 |
misc: remove once_cell; superseded by std::*
We now have types in the Rust standard library. Dropping the dependency. I found this by using the `clippy::pedantic` group. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
67896333e3 |
misc: net_util: streamline error Display::fmt()
The changes were mostly automatically applied using the Python script mentioned in the first commit of this series. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
c4b6ed1077 |
build: Bump getrandom from 0.3.1 to 0.3.3
Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.3.1 to 0.3.3. - [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/getrandom/compare/v0.3.1...v0.3.3) --- updated-dependencies: - dependency-name: getrandom dependency-version: 0.3.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|
|
20296e909a |
misc: streamline thiserror cargo dep
As almost every sub crate depends on thiserror, lets upgrade it to a workspace dependency. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
ea6d5a04fa |
misc: net_util: streamline #[source] and Error impl
This streamlines the Error implementation in the Cloud Hypervisor code base to match the remaining parts so that everything follows the agreed conventions. These are leftovers missed in the previous commits. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
fd5cfb75f3 |
misc: net_util: streamline #[source] and Error
This streamlines the code base to follow best practices for error handling in Rust: Each error struct implements std::error::Error (most due via thiserror::Error derive macro) and sets its source accordingly. This allows future work that nicely prints the error chains, for example. So far, the convention is that each error prints its sub error as part of its Display::fmt() impl. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com |
||
|
|
dce82a34d0 |
net_util: add support for IPv6 addresses on tap interfaces
Allow tap interfaces to be configured with an IPv6 address. The change is fairly straightforward: we need to update the API types and CLI parsing to accept either an IPv6 or IPv4 and then match on the IP address type when the tap device is configured. For IPv6 addresses, the netmask (prefix) must be provided at the same time as the address itself (in the SIOCSIFADDR ioctl). They cannot be configured separately. So we remove the separate "set_netmask" function and convert "set_ip_addr" to also accept a netmask. For IPv4 addresses, the IP address and netmask were already always set together, so this should have no functional impact for users of IPv4 addresses. Signed-off-by: Gregory Anders <ganders@cloudflare.com> |
||
|
|
ea4693a091 |
misc: Fix clippy error from beta compiler
Rust has a new way of constructing other error and clippy complains if
we are still using the older way to construct error message. Thus,
migrate to the new approach suggested by the clippy.
Warning from beta compiler:
error: this can be `std::io::Error::other(_)`
--> block/src/vhdx/mod.rs:142:17
|
| / std::io::Error::new(
| | std::io::ErrorKind::Other,
| | format!("Failed to update VHDx header: {e}"),
| | )
| |_________________^
|
= help: for further information visit
https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error
help: use `std::io::Error::other`
std::io::Error::other(
format!("Failed to update VHDx header: {e}"),
Signed-off-by: Jinank Jain <jinankjain@microsoft.com>
|
||
|
|
3698b8e74c |
build: Centralize serde_json crate to workspace
`serde_json` crate is referenced by multiple components, centralize it to workspace to better manage this crate. Signed-off-by: Jinank Jain <jinankjain@microsoft.com> |