linux/drivers/vfio
Alex Williamson 6d6768c61b vfio: Limit group opens
vfio_group_fops_open attempts to limit concurrent sessions by
disallowing opens once group->container is set.  This really doesn't
do what we want and allow for inconsistent behavior, for instance a
group can be opened twice, then a container set giving the user two
file descriptors to the group.  But then it won't allow more to be
opened.  There's not much reason to have the group opened multiple
times since most access is through devices or the container, so
complete what the original code intended and only allow a single
instance.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2013-06-25 16:06:54 -06:00
..
pci vfio updates for v3.10 2013-05-02 14:02:32 -07:00
Kconfig vfio: Add PCI device driver 2012-07-31 08:16:24 -06:00
Makefile vfio: Type1 IOMMU implementation 2012-07-31 08:16:23 -06:00
vfio_iommu_type1.c vfio/type1: Fix missed frees and zero sized removes 2013-06-25 16:01:44 -06:00
vfio.c vfio: Limit group opens 2013-06-25 16:06:54 -06:00