Skip to content

Commit

Permalink
queue: changes for 0.3.0 release
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandru Agache <[email protected]>
  • Loading branch information
alexandruag authored and andreeaflorescu committed May 10, 2022
1 parent bf62483 commit 47cabf8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
20 changes: 17 additions & 3 deletions crates/virtio-queue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
# Unreleased
# v0.3.0

## Added
- QueueStateT::size(): [#153](https://github.com/rust-vmm/vm-virtio/pull/153)
- [[#148]](https://github.com/rust-vmm/vm-virtio/pull/148): `QueueStateOwnedT` trait that stands
for queue objects which are exclusively owned and accessed by a single thread of execution.
- [[#148]](https://github.com/rust-vmm/vm-virtio/pull/148): Added the `pop_descriptor_chain`
method, which can be used to consume descriptor chains from the available ring without
using an iterator, to `QueueStateT` and `QueueGuard`. Also added `go_to_previous_position()`
to `QueueGuard`, which enables decrementing the next available index by one position, which
effectively undoes the consumption of a descriptor chain in some use cases.
- [[#151]](https://github.com/rust-vmm/vm-virtio/pull/151): Added `MockSplitQueue::add_desc_chain()`,
which places a descriptor chain at the specified offset in the descriptor table.
- [[#153]](https://github.com/rust-vmm/vm-virtio/pull/153): Added `QueueStateT::size()` to return
the size of the queue.

## Changed
- The minimum version of the `vm-memory` dependency is now `v0.8.0`
- [[#161]](https://github.com/rust-vmm/vm-virtio/pull/161): Improve the efficiency of `needs_notification`

## Removed
- #[derive(Clone)] for QueueState: [#153](https://github.com/rust-vmm/vm-virtio/pull/153)
- [[#153]](https://github.com/rust-vmm/vm-virtio/pull/153): `#[derive(Clone)]` for `QueueState`

# v0.2.0

Expand Down
2 changes: 1 addition & 1 deletion crates/virtio-queue/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "virtio-queue"
version = "0.2.0"
version = "0.3.0"
authors = ["The Chromium OS Authors"]
description = "virtio queue implementation"
repository = "https://github.com/rust-vmm/vm-virtio"
Expand Down

0 comments on commit 47cabf8

Please sign in to comment.