VirtioRing

final class ntoseye.VirtioRing

Subclass of BaseRecord.

A virtqueue’s ring and the buffers outstanding in it (!vring).

property queue: VirtQueue | None

The driver’s queue, or None for a ring read from its addresses (raw_ring).

property raw_ring: SplitRing | None

A split ring read from its size and addresses, which has no driver queue (!vring /r).

property request_kind: Literal['blk', 'scsi', 'scsi_control', 'scsi_event', 'net', 'net_control', 'gpu', 'vsock'] | None

What its buffers hold, for decoding: blk, scsi, net, …

property returned: list[VirtioBuffer]

Buffers the device returned that the driver has not taken back (split rings), at most 64.

property with_device: list[VirtioBuffer]

Buffers the device holds, at most 64.