Releases: rust-vmm/vm-virtio
Releases · rust-vmm/vm-virtio
virtio-bindings v0.2.0
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
andvirtio-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 thevirtio_config
module.
virtio-queue v0.7.1
Fixed
- Skip indirect descriptor address alignment check, the virtio spec has no alignment requirement on this, see
2.6.5.3 Indirect Descriptors
and2.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 apop_descriptor_chain
.
virtio-queue-ser v0.4.1
- Update the virtio-queue dependency to v0.7.1. This release contains no
breaking changes.
virtio-vsock v0.2.1
Changes
VsockPacket::from_tx_virtq_chain
supports header and data on the same descriptorVsockPacket::from_rx_virtq_chain
supports header and data on the same descriptor
virtio-vsock v0.2.0
Added
- Derive
Eq
forpacket::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
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
Added
- Derived
Eq
forstate::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
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
v0.6.0
Added
- Derive
Eq
for structures that derivePartialEq
.
Changed
- Use
add_desc_chains
in tests - Update dependencies:
vm-memory
from0.8.0
to0.9.0
andlog
from0.4.6
to0.4.17
. - Upgrade to Rust 2021 edition.
virtio-queue-ser v0.3.0
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.