VirtioBuffer

final class ntoseye.VirtioBuffer

Subclass of BaseRecord.

One buffer: its descriptors and the request it carries.

property broken: str | None

Why walking the chain stopped early.

property descriptors: list[VirtioDescriptor]
property head: int

The head descriptor’s index (split) or the buffer ID (packed).

property position: int

The avail entry (split, with the device), the used element (returned), or the ring position (packed).

property request: str | None

The request and, once the device returned it, its answer, decoded from the virtio specification’s layouts.

property written: int | None

The bytes the device wrote, for a returned buffer.