• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kernelite / milo / 46495920855
70%

Build:
DEFAULT BRANCH: main
Ran 30 Nov 2026 07:33PM UTC
Jobs 1
Files 67
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Nov 2026 07:30PM UTC coverage: 51.678% (+1.7%) from 49.993%
46495920855

push

github

marcobuschini
feat(virtio): add VirtIO-MMIO bus discovery and slot-based driver binding

Introduce a reusable VirtIO-MMIO bus and slot layer (`VirtioMmioBus` and
`VirtioMmioSlot`) to centralize slot discovery, `VIRTIO_F_VERSION_1` feature
negotiation, virtqueue configuration, VirtIO v1.2 status transitions, and
GICv2 SPI routing across the 32 MMIO slots (`0x0a000000`–`0x0a003e00`).

- Add `VirtioMmioBus` and `VirtioMmioSlot` (`kernel/drivers/virtio/VirtioMmioBus.*`)
  with FDT enumeration (`virtio,mmio`) and fallback scanning across all 32
  QEMU `virt` slots, leaving discovered devices in reset until claimed by ID.
- Enforce VirtIO v1.2 initialization ordering (`ACKNOWLEDGE` -> `DRIVER` ->
  feature negotiation -> `FEATURES_OK` -> queue setup -> `DRIVER_OK`) and
  automatic rollback/IRQ cleanup on binding failure.
- Refactor `VirtioBlkDevice` and `HAL::Platform::init_block_devices` to bind
  by `VIRTIO_DEV_ID_BLK` through `VirtioMmioBus`, removing duplicate MMIO
  probing and conflicting SPI handler registration in `kmain`.
- Add `test virtio` kernel shell suite and host unit tests (`virtio_bus_test.cpp`)
  covering multi-slot discovery, multi-queue binding, IRQ dispatch, and
  legacy feature rejection.

2683 of 6357 branches covered (42.21%)

Branch coverage included in aggregate %.

165 of 270 new or added lines in 5 files covered. (61.11%)

2 existing lines in 2 files now uncovered.

5385 of 9255 relevant lines covered (58.18%)

3432.53 hits per line

Uncovered Changes

Lines Coverage ∆ File
80
56.43
kernel/drivers/virtio/VirtioMmioBus.cpp
23
20.0
20.0% kernel/drivers/virtio/virtio_blk.cpp
2
63.82
63.82% kernel/drivers/virtio/VirtioMmioTransport.cpp

Coverage Regressions

Lines Coverage ∆ File
1
20.0
20.0% kernel/drivers/virtio/virtio_blk.cpp
1
63.82
63.82% kernel/drivers/virtio/VirtioMmioTransport.cpp
Jobs
ID Job ID Ran Files Coverage
1 46495920855.1 30 Nov 2026 07:33PM UTC 67
51.68
GitHub Action Run
Source Files on build 46495920855
  • Tree
  • List 67
  • Changed 6
  • Source Changed 4
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #46495920855
  • 1ebc002e on github
  • Prev Build on main (#46471538691)
  • Next Build on main (#46506478331)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc