> The original error ("unable to reset PCI device...") still occurs when trying to start disp-sys-usb.
Despite have the "no-strict-reset" set to True, you will continue to see the "Unable to reset PCI device: ... no FLR, PM reset or bus reset available" "error" message each time you are trying to attach a PCI device that does not support the FLR (Function Level Reset) [2].
The "no-strict-reset" enablement patch [1] allows you (libvirt) to assign a PCI device to domU, even when the device does not support any reset method .
The error message is kept there for the informational purposes so this way a person may become aware of that his PCI device may not be working as desired because it does not support any reset method, despite of which it still gets assigned to domU when "no-strict-reset" is set to True, thanks to the patch [1].
I think it'd be good to mention here the whole message from the "no-strict-reset" patch:
> This allows to assign PCI device to some VM, even when the device does not support any reset method. This may be dangerous in some cases (especially when the device is later assigned to some other VM). But in some cases it still makes sense - for example when the device is assigned to the same VM whole the time.
To check if your PCI device has a FLR function, run:
$ sudo lspci -vv -s 00:14.0
If you see output with "FLReset-" then your PCI device does not support FLR function. If output has "FLReset+" then it does.
There are very few PCI devices which support FLR function.
Kind regards,
Andrey Arapov
Hum, I have just realized that you have also noticed one more error:
>
> libxl_pci.c: libxl__device_pci_reset: The kernel doesn't support reset from sysfs for PCI device 0000:00:14.0
>
>
It looks like this error is related to this code https://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=tools/libxl/libxl_pci.c;h=6f8f49c7c0a80478b244c52ae65e75f8a78c6481;hb=b03cee73197f4a37bf2941b9367105187355e638#l1150 [https://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=tools/libxl/libxl_pci.c;h=6f8f49c7c0a80478b244c52ae65e75f8a78c6481;hb=b03cee73197f4a37bf2941b9367105187355e638#l1150]
where, it appears to me at the first sight, we are not patching it.
I raised that question here https://github.com/QubesOS/qubes-issues/issues/3518#issuecomment-579526805
Kind regards,
Andrey Arapov