diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2014-02-26 13:38:39 -0500 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2014-02-26 13:38:39 -0500 |
commit | 88d7ab8949427f492c39f6daf0ac67f0242a88bc (patch) | |
tree | cfa7d27b7a59ff6ffe666374a19e08b2e5f1ee64 /include/linux/vfio.h | |
parent | aa429318279b90192f35a97e9ccdc1e83b3a9624 (diff) |
vfio: Add external user check extension interface
This lets us check extensions, particularly VFIO_DMA_CC_IOMMU using
the external user interface, allowing KVM to probe IOMMU coherency.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/linux/vfio.h')
-rw-r--r-- | include/linux/vfio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/vfio.h b/include/linux/vfio.h index 24579a0312a0..81022a52bc34 100644 --- a/include/linux/vfio.h +++ b/include/linux/vfio.h | |||
@@ -96,5 +96,7 @@ extern void vfio_unregister_iommu_driver( | |||
96 | extern struct vfio_group *vfio_group_get_external_user(struct file *filep); | 96 | extern struct vfio_group *vfio_group_get_external_user(struct file *filep); |
97 | extern void vfio_group_put_external_user(struct vfio_group *group); | 97 | extern void vfio_group_put_external_user(struct vfio_group *group); |
98 | extern int vfio_external_user_iommu_id(struct vfio_group *group); | 98 | extern int vfio_external_user_iommu_id(struct vfio_group *group); |
99 | extern long vfio_external_check_extension(struct vfio_group *group, | ||
100 | unsigned long arg); | ||
99 | 101 | ||
100 | #endif /* VFIO_H */ | 102 | #endif /* VFIO_H */ |