Linux hardware diagnostics

Can a PCIe card be assigned to a Linux VM by itself?

On this page
  1. Identify device and slot
  2. Interpret the group
  3. Try a different documented configuration
  4. Try it
  5. Sources

Read the whole IOMMU group before promising that a single PCIe function is safe to assign to a VM.

Linux hardware diagnostics decision guide
  1. SlotFind its PCI addresses
  2. GroupList every member of the isolation group
  3. DecisionProtect host-critical devices

Identify device and slot

Use lspci to map the target function. A GPU can expose a separate audio function. Look at the groups exposed for your exact slot and firmware configuration instead of buying from a generic motherboard claim.

Interpret the group

VFIO treats an IOMMU group as the underlying unit of isolation. If a storage controller that the host still needs sits in the same group as the intended device, treat that population as a planning constraint.

Try a different documented configuration

Review the motherboard slot layout or vendor-supported virtualization options before binding drivers. Compare actual groups before and after any supported change and keep a host console available during testing.

Try it

Sources

  1. Linux VFIO and IOMMU groups
  2. PCI utilities lspci manual

Source review . Research and writing prepared with AI assistance.

Choose a part

Make it yours

Your hardware studio.

Saved in this browser. Your parts stay the same.