Hello everybody,
I’ve been troubleshotting a reproducable VFIO passthrough issue for quite some time. I will describe it using an NVIDIA T600/T1000-class TU117 GPU, as this is the device I have tested most extensively. However, I have observed potentially related behaviour with a multifunction Intel network card on the same PCIe riser.
System configuration
I am running two separate Windows 10 virtual machines on a Debian 13 host using virt-manager/libvirt (Kernel 6.12.107, QEMU 10.0.13, Libvirt 11.3.0, Intel Alder Lake Platform, Machine type: Q35).
The GPU is installed in an industrial PC trough a PCIe riser/backplane. The mainboard provides two PCIe Gen4 x4 connections trough an x8 Goldfinger connector.
The relevant functions are:
40:00.0 VGA compatible: NVIDIA TU117GL (T600)
40:00.1 Audio Controller: NVIDIA Corporation Device 10fa
Both functions are inside the same IOMMU Group and are bound to vfio-pci.
Working configuration
Passing trough only the GPU (40:00.0 without 40:00.1) works reliably. The VM starts, shuts down and can be started again repeatedly. No relevant errors appear inside dmesg, expect the expected missing DisplayPort audio.
Failing configuration
The VM fails to start when i pass trough both functions!
40:00.0 → guest 07:00.0, multifunction=on
40:00.1 → guest 07:00.1
The dmesg errors are:
[ 2800.507044] vfio-pci 0000:40:00.1: enabling device (0000 → 0002)
[ 2801.550386] pcieport 0000:00:1d.0: broken device, retraining non-functional downstream link at 2.5GT/s
[ 2802.554368] pcieport 0000:00:1d.0: retraining failed
[ 2802.562372] pcieport 0000:00:1d.0: Data Link Layer Link Active not set in 100 msec[ 2802.689053] vfio-pci 0000:40:00.1: vfio_bar_restore: reset recovery - restoring BARs
[ 2802.894756] vfio-pci 0000:40:00.0: vfio_bar_restore: reset recovery - restoring BARs[ 2803.630380] vfio-pci 0000:40:00.0: timed out waiting for pending transaction; performing function level reset anyway
[ 2804.846384] vfio-pci 0000:40:00.0: not ready 1023ms after FLR; waiting…
[ 2872.334398] vfio-pci 0000:40:00.0: not ready 65535ms after FLR; giving up
[ 2872.850511] vfio-pci 0000:40:00.0: vfio_bar_restore: reset recovery - restoring BARs
[ 2872.859646] vfio-pci 0000:40:00.1: vfio_bar_restore: reset recovery - restoring BARs
[ 2872.881450] vfio-pci 0000:40:00.0: vfio_bar_restore: reset recovery - restoring BARs
[ 2872.888351] vfio-pci 0000:40:00.1: vfio_bar_restore: reset recovery - restoring BARs
…
The upstream device 0000:00.1d.0 is the PCH PCIe root port connected to the riser slot.
The QEMU log files contain:
2026-11-30T08:13:26.896375Z qemu-system-x86_64: vfio: Unable to power on device, stuck in D3
2026-11-30T08:13:27.102077Z qemu-system-x86_64: vfio: Unable to power on device, stuck in D30000:40:00.0: PCI peer-to-peer transactions on BARs are not supported.
Post this startup sequence, I can no longer start the system and the GPU is in a undefined status:
setpci -s 40:00.0 00.l
-> ffffffff
However, the upstream root port still reports:
LnkSta: Speed 2.5GT/s, Width x4
This suggests that the root port still considers the link active, while the endpoint itself no longer responds to PCI configuration accesses.
A cold reboot is then required to recover the GPU.
This issue is reproducible on two identical industrial PCs with the same riser design.
I also installed Windows natively on the same hardware and installed the NVIDIA driver. In that configuration, both the GPU and DisplayPort audio function work correctly. Sadly I can not test without the riser!
My assumption is an incompatibility between:
-VFIO’s multifunction or secondary-bus reset sequence
-the PCH/riser reset implementation, possibly involving PERST#
Things I already tried:
options vfio-pci disable_idle_d3=1- Binding the GPU and audio functions directly to
vfio-pciduring boot - Correct guest-side multifunction addressing
managed='yes'andmanaged='no'- Disabling the GPU ROM BAR with
rombar=0 - Different PCIe generation settings in the BIOS
- Disabling ASPM and checking hotplug capabilities
- Testing different physical positions on the riser
- Testing on a second identical system
- Temporarily clearing the GPU’s
reset_method - Native Windows installation, where GPU and audio work correctly
Clearing reset_method changes the error sequence and can prevent the later FLR attempt, but VFIO still appears to perform a bus-level reset when both functions are assigned.
Thank you all!
(AI used to improve readability)