VFIO: Factor out shared VFIO container/group/device setup helper
Open
@will-j-wright is already working on this.
Since Apr 16, 2026.
- #3305 by @copilot-swe-agent — closed without merging
enhancement
- Dominant language
- Rust
- Stars
- 1.9k
- Forks
- 238
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 100
Description
The VFIO device resolver (vfio_assigned_device/src/resolver.rs) duplicates the container → group → IOMMU → device setup flow that already exists in user_driver/src/vfio.rs.
Extract a shared helper into vfio_sys, e.g. open_vfio_device(pci_id) -> (Container, Group, Device), that both the resolver and the user-driver backend can use.
From PR #3248 review feedback.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.