X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=include%2Flinux%2Fvfio.h;h=24579a0312a0c45dca0216d137721e0381d8c11d;hb=5223161dc0f5e44fbf3d5e42d23697b6796cdf4e;hp=ac8d488e4372d32e2136a3c673dc0e105d5320b9;hpb=7ecba6f2f3f6e862287e07908ba583199c7772a9;p=~andy%2Flinux diff --git a/include/linux/vfio.h b/include/linux/vfio.h index ac8d488e437..24579a0312a 100644 --- a/include/linux/vfio.h +++ b/include/linux/vfio.h @@ -90,4 +90,11 @@ extern void vfio_unregister_iommu_driver( TYPE tmp; \ offsetof(TYPE, MEMBER) + sizeof(tmp.MEMBER); }) \ +/* + * External user API + */ +extern struct vfio_group *vfio_group_get_external_user(struct file *filep); +extern void vfio_group_put_external_user(struct vfio_group *group); +extern int vfio_external_user_iommu_id(struct vfio_group *group); + #endif /* VFIO_H */