Skip to content

Releases: rust-vmm/vm-virtio

virtio-bindings v0.2.0

21 Feb 12:18
Compare
Choose a tag to compare

Added

  • Add bindings for virtio_config.h, virtio_gpu.h, and virtio_mmio.h

Changed

  • Regenerate bindings with Glibc 2.36, Linux 6.1, and bindgen 0.63.0
  • The virtio-v4_14_0 and virtio-v5_0_0 crate features are now no-ops — the latest version of the bindings is now always used.
  • The bindings modules no longer accidentally re-export constants from Glibc or other kernel headers. As a result of this, it is no longer possible to reference constants from virtio_config.h through e.g. the virtio_net module, only through the virtio_config module.

virtio-queue v0.7.1

20 Feb 14:10
Compare
Choose a tag to compare

Fixed

  • Skip indirect descriptor address alignment check, the virtio spec has no alignment requirement on this, see 2.6.5.3 Indirect Descriptors and 2.7.7 Indirect Flag: Scatter-Gather Support in virtio 1.0.
  • Update the add_desc_chains mock function such that it works on big endian hosts as well.
  • Check that the queue is ready for processing requests when calling the iterator functions. For now the checks are limited to the avail address and the ready fields, but should be extended in the future to account for other fields that could signal an invalid queue. This behavior can be triggered by doing a reset followed by a pop_descriptor_chain.

virtio-queue-ser v0.4.1

20 Feb 14:10
Compare
Choose a tag to compare
  • Update the virtio-queue dependency to v0.7.1. This release contains no
    breaking changes.

virtio-vsock v0.2.1

28 Dec 15:53
Compare
Choose a tag to compare

Changes

  • VsockPacket::from_tx_virtq_chain supports header and data on the same descriptor
  • VsockPacket::from_rx_virtq_chain supports header and data on the same descriptor

virtio-vsock v0.2.0

14 Nov 13:05
Compare
Choose a tag to compare

Added

  • Derive Eq for packet::PacketHeader.

Changes

  • Updated vm-memory to 0.10.0.
  • Updated virtio-queue to 0.7.0.
  • Upgrade Rust edition to 2021.

virtio-queue v0.7.0

14 Nov 13:06
Compare
Choose a tag to compare

v0.7.0

Changed

  • Updated vmm-sys-util from 0.10.0 to 0.11.0.
  • Updated vm-memory from 0.9.0 to 0.10.0.

virtio-queue-ser v0.4.0

14 Nov 13:06
Compare
Choose a tag to compare

Added

  • Derived Eq for state::QueueStateSer.

Changed

  • Updated vm-memory from 0.9.0 to 0.10.0.
  • Updated virtio-queue from 0.6.1 to 0.7.0 and fix version to exactly 0.7.0 to ensure the crates
    are always updated in lock-step.
  • Upgrade rust edition to 2021

virtio-queue-v0.6.1

29 Sep 15:19
Compare
Choose a tag to compare

v0.6.1

Fixed

  • Return an error if the number of available descriptor chains exposed by the
    driver exceeds the queue size. This way we avoid potential hanging and
    Denial-of-Service in the VMM, that was possible before by iterating multiple
    times over the same chains.

virtio-queue v0.6.0

09 Sep 05:44
@slp slp
Compare
Choose a tag to compare

v0.6.0

Added

  • Derive Eq for structures that derive PartialEq.

Changed

  • Use add_desc_chains in tests
  • Update dependencies: vm-memory from 0.8.0 to 0.9.0 and log from 0.4.6 to 0.4.17.
  • Upgrade to Rust 2021 edition.

virtio-queue-ser v0.3.0

29 Jul 13:22
Compare
Choose a tag to compare

v0.3.0

Changed

  • Update the way that dependencies are pulled such that we don't end up with incompatible versions.

Removed

  • Removed the num_added from the saved state. This is an implementation detail coming from the notification suppression feature, so it shouldn't be part of the state.