Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 17, 2025

Updates the requirements on virtio-queue and vm-memory to permit the latest version.
Updates virtio-queue to 0.17.0

Release notes

Sourced from virtio-queue's releases.

virtio-queue-v0.17.0

virtio-queue v0.17.0

Changed

  • Updated vm-memory from 0.16.0 to 0.17.1
Commits
  • ec17cad virtio-queue: Prepare v0.17.0 release
  • e610eb7 virtio-queue: disable verify_add_used proof
  • ee413bc virtio-queue: stubregion now uses new vm-memory interface
  • 67f9878 build(deps): update vm-memory requirement in the vm-virtio group
  • 9edfa57 build(deps): bump rust-vmm-ci from 1b48931 to 042b206
  • 12d4038 build(deps): bump rust-vmm-ci from 3e24835 to 1b48931
  • d6412c6 build(deps): bump rust-vmm-ci from c0f5d4c to 3e24835
  • 17d4b2c virtio-queue: fix hyperlink in documentation
  • c7588be build(deps): bump rust-vmm-ci from fc4584d to c0f5d4c
  • 57ad18a virtio-bindings: Fix powerpc64 bindings
  • Additional commits viewable in compare view

Updates vm-memory to 0.17.1

Changelog

Sourced from vm-memory's changelog.

[v0.17.1]

No visible changes.

[v0.17.0]

Added

  • [#311] Allow compiling without the ReadVolatile and WriteVolatile implementations
  • [#312] GuestRegionContainer, a generic container of GuestMemoryRegions, generalizing GuestMemoryMmap (which is now a type alias for GuestRegionContainer<GuestRegionMmap>).
  • [#338] Make GuestMemoryAtomic always implement Clone.
  • [#338] Make GuestAddressSpace a subtrait of Clone.
  • [#339] Add GuestMemory::get_slices()

Changed

  • [#307] Move read_volatile_from, read_exact_volatile_from, write_volatile_to and write_all_volatile_to functions from the GuestMemory trait to the Bytes trait.
  • [#312]: Give GuestMemory::find_region and GuestMemory::num_regions a default implementation, based on linear search.
  • [#312]: Provide a marker trait, GuestMemoryRegionBytes, which enables a default implementation of Bytes<MemoryRegionAddress> for a GuestMemoryRegion if implemented.
  • [#312]: Adjust error types returned from GuestMemoryMmap::from_ranges[_with_files] and GuestRegionMmap::from_range to be separate from the error type returned by GuestRegionCollection functions. Change return type of GuestRegionMmap::new from Result to Option.
  • [build(deps): bump rust-vmm-ci from fc4584d to c0f5d4c #324](rust-vmm/vm-memory#324 GuestMemoryRegion::bitmap() now returns a BitmapSlice. Accessing the full bitmap is now possible only if the type of the memory region is know, for example with MmapRegion::bitmap().
  • [#339] Implement Bytes::load() and Bytes::store() with get_slices() instead of to_region_addr()

Removed

  • [#307] Remove deprecated functions Bytes::read_from, Bytes::read_exact_from, Bytes::write_to, Bytes::write_all_to, GuestMemory::as_slice, GuestMemory::as_slice_mut, GuestMemory::with_regions, GuestMemory::with_regions_mut, GuestMemory::map_and_fold, VolatileSlice::as_ptr, VolatileRef::as_ptr, and VolatileArrayRef::as_ptr.
  • [#320] Drop check_file_offset check when using MmapRegionBuilder. The mmap(2) syscall itself already validates that offset and length are valid, and trying to replicate this check in userspace ended up being imperfect.

Fixed

  • [#339] Fix Bytes::read() and Bytes::write() not to ignore try_access()'s count parameter

Deprecated

  • [#349] Deprecate GuestMemory::try_access(). Use GuestMemory::get_slices() instead.

[v0.16.1]

Added

... (truncated)

Commits
  • 75f3b2c Prepare for 0.17.1 release
  • dea9e19 fix(doc): un-break docs.rs build
  • 17b714c setup trusted publishing
  • 53b711b prepare 0.17.0 release
  • b8401e6 Update CODEOWNERS
  • ebfefb0 windows: be more explicit about unsupported features
  • fc55ed0 fix(windows): enable dep:winapi crate with backend-bitmap
  • 4a8f22b windows: make tests work with only feature backend-mmap
  • 4a8c9ce windows: remove unused imports
  • f49e23e test: check windows build
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Nov 17, 2025
@dependabot dependabot bot requested review from Ablu and epilys as code owners November 17, 2025 15:27
@dependabot dependabot bot added the rust Pull requests that update Rust code label Nov 17, 2025
@stefano-garzarella stefano-garzarella force-pushed the dependabot/cargo/vhost-e3fa8ded68 branch 2 times, most recently from 2cabe59 to 084ec7e Compare November 17, 2025 15:50
@stefano-garzarella
Copy link
Member

Adapted code to vm-memory changes, mainly related to changes on return types (e.g. Option vs Result, etc.)

Updates the requirements on [virtio-queue](https://github.com/rust-vmm/vm-virtio) and [vm-memory](https://github.com/rust-vmm/vm-memory) to permit the latest version.

Updates `virtio-queue` to 0.17.0
- [Release notes](https://github.com/rust-vmm/vm-virtio/releases)
- [Commits](rust-vmm/vm-virtio@virtio-queue-v0.16.0...virtio-queue-v0.17.0)

Updates `vm-memory` to 0.17.1
- [Release notes](https://github.com/rust-vmm/vm-memory/releases)
- [Changelog](https://github.com/rust-vmm/vm-memory/blob/main/CHANGELOG.md)
- [Commits](rust-vmm/vm-memory@v0.16.2...v0.17.1)

---
updated-dependencies:
- dependency-name: virtio-queue
  dependency-version: 0.17.0
  dependency-type: direct:production
  dependency-group: vhost
- dependency-name: vm-memory
  dependency-version: 0.17.1
  dependency-type: direct:production
  dependency-group: vhost
...

Signed-off-by: dependabot[bot] <support@github.com>
[SG: adapted code to vm-memory changes, mainly related to changes on
 return types (e.g. Option vs Result, etc.)]
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
@stefano-garzarella stefano-garzarella force-pushed the dependabot/cargo/vhost-e3fa8ded68 branch from 084ec7e to f72a2dd Compare November 17, 2025 17:09
@stefano-garzarella stefano-garzarella enabled auto-merge (rebase) November 17, 2025 17:09
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 17, 2025

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot recreate.

@stefano-garzarella stefano-garzarella merged commit 1d39cf5 into main Nov 18, 2025
23 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/vhost-e3fa8ded68 branch November 18, 2025 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants