arcbox-virtio-core 0.4.21

Foundational types and traits for ArcBox VirtIO devices
Documentation

arcbox-virtio-core

Foundational types and traits shared by every ArcBox VirtIO device crate. Lives at the bottom of the dependency graph so each per-device crate (arcbox-virtio-net, arcbox-virtio-block, …) and the umbrella arcbox-virtio crate can pull from one place without circular references.

Contents:

  • [VirtioDevice]: the device-implementation trait.
  • [DeviceCtx]: shared guest-memory + IRQ-trigger context that each device holds at runtime.
  • [QueueConfig]: per-virtqueue configuration snapshot built by the VMM from MMIO state and handed to a device for processing.
  • [VirtioDeviceId] / [DeviceStatus]: device-type IDs and transport status flags.
  • [GuestMemWriter]: GPA-keyed accessor over guest RAM.
  • [Result] / [VirtioError]: error types shared by all devices.