Skip to content

Stage 3A: Modularize VirtIO MMIO bus & transport layer #160

Done

Description

@marcobuschini

Parent Epic: #157
Depends on: #159

Summary

Formalize device discovery, feature negotiation (VIRTIO_F_VERSION_1), virtqueue setup, status transitions, and IRQ routing across the 32 VirtIO-MMIO slots (0x0a000000–0x0a003e00) into a reusable bus/transport layer.

Scope

  • Encapsulate per-slot transport state and queue binding cleanly so device drivers (virtio_blk, virtio_input, virtio_net, optional virtio_gpu) bind by device ID
  • Avoid duplicating MMIO probing, feature negotiation, or queue configuration across device drivers
  • Add host and QEMU verification for multi-slot discovery and device binding

Verification

  • make all && make quality && make test-host
  • Verify VirtIO-MMIO slot enumeration and driver binding in QEMU

Activity

  1. added
    stage-3-virtio-mmio
    on Nov 27, 2026
  2. moved this from Backlog to Ready in kernelite/miloon Nov 27, 2026
  3. moved this from Ready to Backlog in kernelite/miloon Nov 27, 2026
  4. moved this from Backlog to Ready in kernelite/miloon Nov 29, 2026
  5. moved this from Ready to In progress in kernelite/miloon Nov 30, 2026
  6. moved this from In progress to Done in kernelite/miloon Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

stage-3-virtio-mmio

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions