Skip to content

virtio fixes based on https://github.com/weltling/virtio-villain - #482

Merged
Lencerf merged 4 commits into
google:mainfrom
Lencerf:fix/virtio
Aug 25, 2026
Merged

virtio fixes based on https://github.com/weltling/virtio-villain#482
Lencerf merged 4 commits into
google:mainfrom
Lencerf:fix/virtio

Conversation

@Lencerf

@Lencerf Lencerf commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@coveralls

coveralls commented Aug 25, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 32826193435

Coverage increased (+0.3%) to 27.926%

Details

  • Coverage increased (+0.3%) from the base build.
  • Patch coverage: 3 uncovered changes across 1 file (9 of 12 lines covered, 75.0%).
  • No coverage regressions found.

Uncovered Changes

File Changed Covered %
alioth/src/virtio/pci.rs 12 9 75.0%

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 14826
Covered Lines: 4022
Line Coverage: 27.13%
Relevant Branches: 1342
Covered Branches: 493
Branch Coverage: 36.74%
Branches in Coverage %: Yes
Coverage Strength: 39.92 hits per line

💛 - Coveralls

@Lencerf
Lencerf force-pushed the fix/virtio branch 4 times, most recently from a74b470 to bcbc6fc Compare August 25, 2026 08:11
…port

LAYOUT_QUEUE_DRIVER_LO and LAYOUT_QUEUE_DEVICE_LO incorrectly called
get_atomic_high32 instead of get_atomic_low32. Fix them to read the
low 32-bit half of the respective queue address registers.

Signed-off-by: Changyuan Lyu <changyuanl@google.com>
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
Replace todo!() panics in VirtioCommonCfg::LAYOUT_QUEUE_NOTIFY_DATA
and LAYOUT_QUEUE_RESET read handlers with 0. In the write handler for
LAYOUT_QUEUE_RESET, log a warning if unsupported reset is requested
instead of panicking.

Signed-off-by: Changyuan Lyu <changyuanl@google.com>
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
@Lencerf
Lencerf merged commit e1afa3b into google:main Aug 25, 2026
12 checks passed
@Lencerf
Lencerf deleted the fix/virtio branch August 25, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants