Skip to content

virtio-queue v0.3.0

Compare
Choose a tag to compare
@alexandruag alexandruag released this 10 May 11:07
· 240 commits to main since this release

v0.3.0

Added

  • [#148]: QueueStateOwnedT trait that stands
    for queue objects which are exclusively owned and accessed by a single thread of execution.
  • [#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]: Added MockSplitQueue::add_desc_chain(),
    which places a descriptor chain at the specified offset in the descriptor table.
  • [#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]: Improve the efficiency of needs_notification

Removed

  • [#153]: #[derive(Clone)] for QueueState