Hi Liu, On 7/9/19 3:58 AM, Peter Xu wrote: > On Fri, Jul 05, 2019 at 07:01:35PM +0800, Liu Yi L wrote: >> This patch imports the vIOMMU related definitions from kernel >> uapi/vfio.h. e.g. pasid allocation, guest pasid bind, guest pasid >> table bind and guest iommu cache invalidation. >> >> Cc: Kevin Tian <kevin.t...@intel.com> >> Cc: Jacob Pan <jacob.jun....@linux.intel.com> >> Cc: Peter Xu <pet...@redhat.com> >> Cc: Eric Auger <eric.au...@redhat.com> >> Cc: Yi Sun <yi.y....@linux.intel.com> >> Signed-off-by: Liu Yi L <yi.l....@intel.com> >> Signed-off-by: Jacob Pan <jacob.jun....@linux.intel.com> >> Signed-off-by: Yi Sun <yi.y....@linux.intel.com> > > Just a note that in the last version you can use > scripts/update-linux-headers.sh to update the headers. For this RFC > it's perfectly fine. >
You will need to update scripts/update-linux-headers.sh to import the new iommu.h header. See "[RFC v4 02/27] update-linux-headers: Import iommu.h" https://www.mail-archive.com/qemu-devel@nongnu.org/msg620098.html. Thanks Eric