Hi Volodymyr, On 16/11/2023 15:07, Volodymyr Babchuk wrote:
With my vPCI patch series in place, hypervisor itself assigns BDFs for passed-through devices. Toolstack needs to get this information to know which BDFs are free and can be used by virtio-pci.
It sounds a bit odd to let the hypervisor to assign the BDFs. At least because there might be case where you want to specific vBDF (for instance this is the case with some intel graphic cards). This should be the toolstack job to say "I want to assign the pBDF to this vBDF".
Do you have a link to the patch adding the logic in the hypervisor? I will comment there as well.
Cheers, -- Julien Grall