Theoretically may work, but in practice it doesn’t because TN check the reset methods of the devices and if it is not set hide the device.
I found it when I changed the reset_method to null and then created the VM: when I wanted to add the device it was not anymore in the list of avaible devices, even though it appeared at the command lspci -D. Even if was not in the list at a certain point I got the message:
# Warning
PCI device does not have a reset mechanism defined and you may experience inconsistent/degraded behavior when starting/stopping the VM.
I tried to create first the VM, attach the device and after that change the reset method. It worked, I installed Debian but at the reboot the device was not avaiable anymore and the VM gave error.
The solution exists but does not work with TN.