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

google / alioth / 42943303331
44%
main: 44%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-548-bf5761206bae80d5c45f86ff75e027b77c49569f
DEFAULT BRANCH: main
Ran 11 Nov 2026 02:05AM UTC
Jobs 1
Files 130
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

11 Nov 2026 02:03AM UTC coverage: 43.663% (+0.03%) from 43.638%
42943303331

push

github

Lencerf
fix(virtio): set WRITE flag on packed used descriptors from len

PackedQueue::set_used() previously loaded the overwritten available
descriptor's flags and only toggled AVAIL and USED, preserving stale
WRITE, NEXT, and INDIRECT bits in the used descriptor.

Per VirtIO 1.4 Sec 2.8.3 and 2.8.4, VIRTQ_DESC_F_WRITE in a used
descriptor specifies whether the device wrote any data into any part
of the buffer, and Element Length is reserved and ignored by drivers
when VIRTQ_DESC_F_WRITE is clear. Consequently, any request starting
with a readable header or an indirect descriptor (or completed out of
order into a readable slot) produced a used descriptor with WRITE
clear even when len > 0, so a driver that ignores Element Length as
the spec allows would treat the written length as 0. Conversely,
completing a writable slot with len == 0 left WRITE set, and NEXT,
which is reserved in used descriptors (Sec 2.8.6), or INDIRECT leaked
into used flags.

Linux is not affected, since it reads the length of a used descriptor
regardless of VIRTQ_DESC_F_WRITE.

Construct the used descriptor flags from scratch instead, setting
USED | AVAIL from the ring wrap counter and WRITE iff len > 0.

Fixes: f97eb722e6fa ("feat(virtio): support packed queue")
Signed-off-by: Changyuan Lyu <changyuanl@google.com>

976 of 1750 branches covered (55.77%)

Branch coverage included in aggregate %.

8 of 8 new or added lines in 1 file covered. (100.0%)

6968 of 16444 relevant lines covered (42.37%)

905.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42943303331.1 11 Nov 2026 02:05AM UTC 130
43.66
GitHub Action Run
Source Files on build 42943303331
  • Tree
  • List 130
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42943303331
  • 8d777ce9 on github
  • Prev Build on gh-readonly-queue/main/pr-538-fd076e0e5056a97c458acb3d759abb39acdf4702 (#42933589532)
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