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

kernelite / milo / 46527151503
70%

Build:
DEFAULT BRANCH: main
Ran 30 Nov 2026 10:29PM UTC
Jobs 1
Files 70
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 10:26PM UTC coverage: 52.542% (+0.1%) from 52.411%
46527151503

push

github

marcobuschini
feat(net): implement VirtIO-MMIO Ethernet driver and host/shell verification

Add the `Kernel::Net::NetworkDevice` interface and the modern (v1.0+)
`VirtioNetDevice` driver for VirtIO-MMIO network devices (`VIRTIO_DEV_ID_NET`).

- Define `NetworkDevice`, `MacAddress`, and `NetStats` abstractions in
  `kernel/net/NetworkDevice.hpp`.
- Implement `VirtioNetDevice` with `VIRTIO_F_VERSION_1`, `VIRTIO_NET_F_MAC`
  (with locally administered unicast fallback), and `VIRTIO_NET_F_STATUS`
  feature negotiation, dual SplitVirtqueue setup (RX queue 0, TX queue 1),
  PFA-backed RX buffer pool and TX header/frame chaining, and GICv2 SPI
  interrupt handling.
- Wire platform network discovery in `platform_net.cpp`, boot initialization
  in `kernel/main.cpp`, and QEMU user-mode networking flags in `Makefile`.
- Add the `test net` interactive kernel shell verification suite and Snitch
  host unit tests (`tests/host/virtio_net_test.cpp`) covering MAC/fallback
  negotiation, TX/RX ring frame exchange, IRQ handling, and zero-leak PFA
  teardown.

2822 of 6581 branches covered (42.88%)

Branch coverage included in aggregate %.

275 of 352 new or added lines in 3 files covered. (78.13%)

13 existing lines in 2 files now uncovered.

5693 of 9625 relevant lines covered (59.15%)

3331.08 hits per line

Uncovered Changes

Lines Coverage ∆ File
75
69.03
kernel/drivers/virtio/virtio_net.cpp
2
80.0
kernel/net/NetworkDevice.hpp

Coverage Regressions

Lines Coverage ∆ File
8
0.0
-60.87% kernel/time/Duration.hpp
5
69.92
-2.73% kernel/drivers/virtio/VirtioMmioTransport.cpp
Jobs
ID Job ID Ran Files Coverage
1 46527151503.1 30 Nov 2026 10:29PM UTC 70
52.54
GitHub Action Run
Source Files on build 46527151503
  • Tree
  • List 70
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #46527151503
  • 64587aab on github
  • Prev Build on main (#46506478331)
  • Next Build on main (#46617801286)
  • 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