Pcornel
Virtualization · Virtualization Troubleshooting

Passthrough Problems

Cheat sheet · https://pcornel.dk/topic.php?topic=3832

Back to the Topic

Answer

Validate the ownership chain: hardware/firmware support → IOMMU enabled → isolation group/topology → host driver detach/reservation → hypervisor assignment → guest enumeration/driver → workload.

Remember

  • IOMMU enabled ≠ device is safely isolated in a usable group.
  • Device bound to VFIO/reserved for assignment ≠ guest successfully receives or initializes it.
  • Guest device visible ≠ correct driver, reset behavior or workload acceleration.
  • Passthrough can restrict migration, snapshots or HA placement even when the device works.

First checks

  • dmesg | grep -i -e vfio -e DMAR — errors
  • lspci -nnk — driver binding
  • find /sys/kernel/iommu_groups -type l — groups

Verify in this order

IOMMU → group → vfio → VM → guest driver

Where it usually breaks

First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.

Virtualization Troubleshooting → Passthrough Problems troubleshooting map

BoundaryWhat to verifyEvidence limit
Symptom/scopeExact failing test, affected VM/host/cluster and incident time are definedSymptom classification does not identify root cause
Observed boundaryConfiguration, runtime and counters/logs for this Virtualization Troubleshooting → Passthrough Problems boundary are time-correlatedOne healthy or failed status does not prove adjacent dependencies
Adjacent dependencyThe next host, storage, network, device, guest or cluster dependency is tested independentlyLocal success does not prove end-to-end health
VerificationThe original workload test succeeds after one controlled change and remains healthy in regression checksTemporary recovery alone is not durable proof

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3832

Confirmation

Confirm action

Continue?