Skip to content

M #-: Rework PCI passthrough support / Add SR-IOV#170

Merged
rsmontero merged 4 commits into
masterfrom
pci_sriov_rework
Feb 25, 2026
Merged

M #-: Rework PCI passthrough support / Add SR-IOV#170
rsmontero merged 4 commits into
masterfrom
pci_sriov_rework

Conversation

@sk4zuzu
Copy link
Copy Markdown
Collaborator

@sk4zuzu sk4zuzu commented Feb 18, 2026

  • Rename 'pci_passthrough' role to 'pci'
  • Extend filtering in 'pci_devices'
  • Handle SR-IOV using driverctl and custom 'sriov-enable' systemd unit
  • Run PCI precheck after helper/kernel (fix)
  • Remove pci_passthrough/common role
  • Make coding-style adjustments

- Rename 'pci_passthrough' role to 'pci'
- Extend filtering in 'pci_devices'
- Handle SR-IOV using driverctl and custom 'sriov-enable' systemd unit
- Run PCI precheck after helper/kernel (fix)
- Remove pci_passthrough/common role
- Make coding-style adjustments

Signed-off-by: Michal Opala <sk4zuzu@gmail.com>
Signed-off-by: Michal Opala <sk4zuzu@gmail.com>
Signed-off-by: Michal Opala <sk4zuzu@gmail.com>
@sk4zuzu sk4zuzu marked this pull request as ready for review February 24, 2026 19:29
- Move lspci_devices parser to dedicated query.yml file
- Use setpci to obtain ECAP_SRIOV info
- Completely ignore set_driver key
- Smoothly react to set_numvfs changes

Signed-off-by: Michal Opala <sk4zuzu@gmail.com>
@rsmontero rsmontero merged commit 49ddadf into master Feb 25, 2026
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