Expand description
Transport-neutral device-side state and validation.
A future rust-vmm adapter will translate descriptor chains into this layer. Provider backends must never receive guest addresses or virtqueue descriptors.
Structs§
- Buffer
Record - Chain
Layout - Validated counts and byte totals for one flattened descriptor chain.
- Chain
Region - Direction and length of one flattened chain region, without an address or transport identity.
- Child
Counts - Command
Processor - One synchronization-free command engine for a backend instance.
- Context
Record - Decoded
Binding - Decoded
Request - Decoder
Limits - Device
State - Complete typed object graph for one device instance.
- Event
Record - Frame
Decoder - Stateless decoder configured with protocol and backend-advertised limits.
- Object
Id - Opaque guest-visible identifier. Its encoding is device-private, not part of the wire ABI.
- Object
Namespace - Device-instance namespace encoded into every object ID.
- Object
Table - Bounded generational object table for one resource kind.
- Program
Record - Queue
Record - Readable
Region - Reset
Report - Resource
Counts - Resource
Policy - Device-private aggregate limits for provider-retained bulk storage.
- Response
Payload - Exact payload destination for one preflighted response.
- Response
Writer - Preflighted writer for one response frame.
- Restore
Error - Retained
Bytes - Exact retained bulk-storage charges represented by a device state graph.
- Segmented
Sink - Borrowed segmented sink used by unit tests, fuzz targets, and simple transport adapters.
- Segmented
Source - Borrowed segmented source used by unit tests, fuzz targets, and simple transport adapters.
- Submission
Resources - Validated provider resources for one event-producing submission.
- Writable
Region
Enums§
- Buffer
Create Outcome - Result of allocating provider backing before its guest-visible ID is published.
- Chain
Layout Error - Failure to validate the device-specific flattened chain layout.
- Command
Outcome - Command
Process Error - Command
Processor Init Error - Create
Error - Decoded
Request Body - Decoder
Limits Error - Device
Health - Device
State Config Error - Device
State Error - Frame
Decode Error - Frame
Preflight - Frame
Preflight Error - Object
Kind - Object
Table Error - Region
Direction - Direction of one flattened descriptor-backed byte region.
- Release
State - Reset
Disposition - Reset
Error - Response
Write Error - Segmented
Region Error - Unrecoverable
Decode Error - Unusable
Frame
Functions§
- preflight_
command_ frame - Validate one complete chain before semantic state or a backend can be reached.
- status_
from_ backend_ error - status_
from_ device_ state_ error - status_
from_ object_ table_ error - validate_
chain_ layout - Validate transport-neutral descriptor metadata before frame bytes are decoded.