Re: kvm PCI assignment & VFIO ramblings

Avi Kivity
2011-08-22T10:51:35Z

On 08/22/2011 01:46 PM, Joerg Roedel wrote:
> > $ readlink /sys/devices/pci0000:00/0000:00:19.0/iommu_group
> > ../../../path/to/device/which/represents/the/resource/constraint
> >
> > (the pci-to-pci bridge on x86, or whatever node represents partitionable
> > endpoints on power)
>
> That does not work. The bridge in question may not even be visible as a
> PCI device, so you can't link to it. This is the case on a few PCIe
> cards which only have a PCIx chip and a PCIe-2-PCIx bridge to implement
> the PCIe interface (yes, I have seen those cards).
>

How does the kernel detect that devices behind the invisible bridge must
be assigned as a unit?

--
error compiling committee.c: too many arguments to function