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

kernelite / milo / 46506478331
70%

Build:
DEFAULT BRANCH: main
Ran 30 Nov 2026 08:31PM UTC
Jobs 1
Files 72
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 08:28PM UTC coverage: 52.411% (+0.7%) from 51.678%
46506478331

push

github

marcobuschini
feat(virtio): add VirtIO HID input driver and evdev event queue

Implement a VirtIO-MMIO HID input driver (`VirtioInputDevice`) for Device ID
18 (`VIRTIO_DEV_ID_INPUT`) alongside an IRQ-safe kernel input event queue and
Linux `evdev` ABI definitions.

- Add `extern "C"` Linux `evdev` UAPI structs (`linux_input_event`,
  `linux_input_id`, `linux_input_absinfo`) and event codes in
  `kernel/uapi/input.hpp` with ABI layout `static_assert` checks.
- Add `Kernel::Input::InputEvent` and `Kernel::Input::InputQueue`
  (`kernel/input/InputEvent.hpp`, `kernel/input/InputQueue.*`) providing a
  bounded IRQ-safe ring buffer with `WaitQueue` wakeup and oldest-event
  drop on overflow.
- Implement `VirtioInputDevice` (`kernel/drivers/virtio/virtio_input.*`) to
  query `VIRTIO_INPUT_CFG_*` capabilities (`ID_NAME`, `ID_DEVIDS`, `EV_BITS`,
  `ABS_INFO`), classify keyboard/mouse/tablet devices, pre-populate `eventq`
  with device-writable buffers, and replenish descriptors on `VIRTIO_MMIO_INT_VRING`.
- Bind all discovered VirtIO HID devices at boot via `HAL::Platform::init_input_devices`,
  wire `virtio-keyboard-device` and `virtio-tablet-device` in QEMU, and add
  shell (`test input`) and host (`virtio_input_test.cpp`) verification suites.

2792 of 6550 branches covered (42.63%)

Branch coverage included in aggregate %.

268 of 370 new or added lines in 9 files covered. (72.43%)

1 existing line in 1 file now uncovered.

5687 of 9628 relevant lines covered (59.07%)

3316.13 hits per line

Uncovered Changes

Lines Coverage ∆ File
69
65.05
kernel/drivers/virtio/virtio_input.cpp
26
47.67
kernel/input/InputQueue.cpp
4
71.74
kernel/input/InputEvent.hpp
2
19.88
-0.12% kernel/drivers/virtio/virtio_blk.cpp
1
72.66
8.84% kernel/drivers/virtio/VirtioMmioTransport.cpp

Coverage Regressions

Lines Coverage ∆ File
1
57.26
0.83% kernel/drivers/virtio/VirtioMmioBus.cpp
Jobs
ID Job ID Ran Files Coverage
1 46506478331.1 30 Nov 2026 08:30PM UTC 72
52.41
GitHub Action Run
Source Files on build 46506478331
  • Tree
  • List 72
  • Changed 7
  • Source Changed 5
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #46506478331
  • de7f884e on github
  • Prev Build on main (#46495920855)
  • Next Build on main (#46527151503)
  • 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