Skip to content

Add tests for vfio - #492

Merged
Lencerf merged 5 commits into
google:mainfrom
Lencerf:fix/vfio
Sep 6, 2026
Merged

Add tests for vfio#492
Lencerf merged 5 commits into
google:mainfrom
Lencerf:fix/vfio

Conversation

@Lencerf

@Lencerf Lencerf commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@coveralls

coveralls commented Sep 5, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 34002952028

Coverage increased (+3.4%) to 35.39%

Details

  • Coverage increased (+3.4%) from the base build.
  • Patch coverage: 137 uncovered changes across 4 files (167 of 304 lines covered, 54.93%).
  • 10 coverage regressions across 5 files.

Uncovered Changes

File Changed Covered %
alioth/src/vfio/device.rs 90 24 26.67%
alioth/src/vfio/cdev.rs 44 10 22.73%
alioth/src/vfio/group.rs 37 6 16.22%
alioth/src/vfio/pci.rs 133 127 95.49%

Coverage Regressions

10 previously-covered lines in 5 files lost coverage.

File Lines Losing Coverage Coverage
alioth/src/vfio/device.rs 3 26.61%
alioth/src/vfio/pci.rs 3 89.18%
alioth/src/virtio/dev/vsock/uds_vsock.rs 2 83.13%
alioth/src/vfio/cdev.rs 1 33.72%
alioth/src/vfio/group.rs 1 30.26%

Coverage Stats

Coverage Status
Relevant Lines: 15008
Covered Lines: 5130
Line Coverage: 34.18%
Relevant Branches: 1522
Covered Branches: 720
Branch Coverage: 47.31%
Branches in Coverage %: Yes
Coverage Strength: 46.21 hits per line

💛 - Coveralls

@Lencerf
Lencerf force-pushed the fix/vfio branch 9 times, most recently from ac6bfa1 to 71c07fc Compare September 6, 2026 00:55
Assisted-by: Antigravity:Gemini-3.7-Flash
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
Assisted-by: Antigravity:Gemini-3.7-Flash
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
Assisted-by: Antigravity:Gemini-3.8-Flash
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
Remove raw File descriptor dependency from Device trait to allow
userspace implementations (like vfio-user). Split multiplexed set_irqs
into higher-level methods.

Assisted-by: Antigravity:Gemini-3.8-Flash
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
Assisted-by: Antigravity:Gemini-3.7-Flash
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
@Lencerf
Lencerf merged commit 083361d into google:main Sep 6, 2026
12 checks passed
@Lencerf
Lencerf deleted the fix/vfio branch September 6, 2026 01:09
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