mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]>
This commit is contained in:
parent
aa42931827
commit
88d7ab8949
2 changed files with 8 additions and 0 deletions
|
|
@ -1413,6 +1413,12 @@ int vfio_external_user_iommu_id(struct vfio_group *group)
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(vfio_external_user_iommu_id);
|
||||
|
||||
long vfio_external_check_extension(struct vfio_group *group, unsigned long arg)
|
||||
{
|
||||
return vfio_ioctl_check_extension(group->container, arg);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(vfio_external_check_extension);
|
||||
|
||||
/**
|
||||
* Module/class support
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue