That's pretty much the Linux equivalent of Device Simulation Framework we had for Windows back in 2000's.
In the presentation below, only the USB capabilities of it is discussed, but it was able to simulate PCI devices too.
https://download.microsoft.com/download/5/b/9/5b97017b-e28a-...