Re: [libvirt] [PATCHv2 04/12] pci: new iommu_group functions

2013-06-25 Thread Laine Stump
On 06/25/2013 06:40 AM, Daniel P. Berrange wrote: > On Mon, Jun 24, 2013 at 11:05:30PM -0400, Laine Stump wrote: >> Any device which belongs to an "IOMMU group" (used by vfio) will >> have links to all devices of its group listed in >> /sys/bus/pci/$device/iommu_group/devices; >> /sys/bus/pci/$devi

Re: [libvirt] [PATCHv2 04/12] pci: new iommu_group functions

2013-06-25 Thread Laine Stump
On 06/25/2013 06:34 AM, Daniel P. Berrange wrote: > On Mon, Jun 24, 2013 at 11:05:30PM -0400, Laine Stump wrote: >> Any device which belongs to an "IOMMU group" (used by vfio) will >> have links to all devices of its group listed in >> /sys/bus/pci/$device/iommu_group/devices; >> /sys/bus/pci/$devi

Re: [libvirt] [PATCHv2 04/12] pci: new iommu_group functions

2013-06-25 Thread Daniel P. Berrange
On Mon, Jun 24, 2013 at 11:05:30PM -0400, Laine Stump wrote: > Any device which belongs to an "IOMMU group" (used by vfio) will > have links to all devices of its group listed in > /sys/bus/pci/$device/iommu_group/devices; > /sys/bus/pci/$device/iommu_group is actually a link to > /sys/kernel/iommu

Re: [libvirt] [PATCHv2 04/12] pci: new iommu_group functions

2013-06-25 Thread Daniel P. Berrange
On Mon, Jun 24, 2013 at 11:05:30PM -0400, Laine Stump wrote: > Any device which belongs to an "IOMMU group" (used by vfio) will > have links to all devices of its group listed in > /sys/bus/pci/$device/iommu_group/devices; > /sys/bus/pci/$device/iommu_group is actually a link to > /sys/kernel/iommu

[libvirt] [PATCHv2 04/12] pci: new iommu_group functions

2013-06-24 Thread Laine Stump
Any device which belongs to an "IOMMU group" (used by vfio) will have links to all devices of its group listed in /sys/bus/pci/$device/iommu_group/devices; /sys/bus/pci/$device/iommu_group is actually a link to /sys/kernel/iommu_groups/$n, where $n is the group number (there will be a corresponding