On Thu, Jul 20, 2023 at 12:32:33AM +0000, Volodymyr Babchuk wrote: > From: Oleksandr Andrushchenko <[email protected]> > > Assign SBDF to the PCI devices being passed through with bus 0. > The resulting topology is where PCIe devices reside on the bus 0 of the > root complex itself (embedded endpoints). > This implementation is limited to 32 devices which are allowed on > a single PCI bus.
I do wonder how this will work with ioreqs, iow: shouldn't it be the toolstack that selects the virtual slot of the PCI device (in the guest bus). Otherwise I see a hard time reconciling how ioreqs and vPCI can work together if vPCI has it's own (private) view of the bus, and thinks it has exclusive ownership of it. It might be something to deal afterwards, but would likely need a TODO tag in order to realize it needs to be improved. Thanks, Roger.
