diff options
| author | 2022-09-22 16:20:21 -0300 | |
|---|---|---|
| committer | 2022-09-22 15:46:06 -0600 | |
| commit | 03e650f6611563c0ccbd0d769d5748fd10d8ee8e (patch) | |
| tree | 4fafa9164c0a4961dc75261d6fc098ac833f9bbb /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | vfio: Rename __vfio_group_unset_container() (diff) | |
| download | linux-dev-03e650f6611563c0ccbd0d769d5748fd10d8ee8e.tar.xz linux-dev-03e650f6611563c0ccbd0d769d5748fd10d8ee8e.zip | |
vfio: Split the container logic into vfio_container_attach_group()
This splits up the ioctl of vfio_group_ioctl_set_container() so it
determines the type of file then invokes a type specific attachment
function. Future patches will add iommufd to this function as an
alternative type.
A following patch will move the vfio_container functions to their own .c
file.
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/3-v3-297af71838d2+b9-vfio_container_split_jgg@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
