Expand description
Deterministic in-memory model of the protocol 1.0 split-virtqueue profile.
The model owns descriptor, available-ring, and used-ring state without guest addresses or a concrete transport library. It is deliberately single-owner and contains no lock or executor.
Structs§
- Descriptor
- One address-free split-ring descriptor used by the in-memory model.
- Driver
Chain - Driver-owned descriptor chain and buffers.
- Reclaimed
Chains - Allocation-free iterator over chains reclaimed by a driver reset.
- Ring
Counters - Observable split-ring counters for deterministic wraparound tests.
- Split
Device Chain - Non-copyable device ownership token for one available descriptor chain.
- Split
Queue - Single-owner, bounded split-virtqueue reference model.
- Split
Sink - Device-writable concatenation of a valid chain’s writable descriptors.
- Split
Source - Device-readable concatenation of a valid chain’s readable descriptors.
Enums§
- Chain
Build Error - Failure while constructing driver-owned chain storage.
- Split
Queue Error - Concrete failure in the in-memory split-ring model.
- Split
Queue Init Error - Failure while constructing a split queue.
Constants§
- VIRTQ_
DESC_ F_ INDIRECT - Descriptor points at an indirect descriptor table.
- VIRTQ_
DESC_ F_ NEXT - Descriptor continues through its
nextfield. - VIRTQ_
DESC_ F_ WRITE - Descriptor bytes are device-writable rather than device-readable.