Re: [Xen-devel] [driver question] IOMMU concept in Xen

2016-10-10 Thread Maciek
Yes you are right, I was too focused on my issue that I didn't specify what I am trying to achieve :) My company current driver can work as normal PF pci device, and also we support SR-IOV. In driver initialization we can call sriov_configure to turn on SRIOV and enable VFs. To be able to run

[Xen-devel] [driver question] IOMMU concept in Xen

2016-10-09 Thread Maciek
Hi all, During development of linux kernel PCI driver with SR-IOV I meet some difficulty and I wanted to make sure that I understand correctly Xen concepts. Things that confuse me is build in function: iommu_present. Is usually used in driver that are using iommu to work. My problem is that