On Fri, Mar 12, 2021 at 12:53:18PM +0000, Liu, Yi L wrote: > But I have a question on the FIXME comment here. I checked the code below. > Even after vfio_register_group_dev(), userspace is not able to get DEVICE_FD > until the group has been added to a container. The race here is between VFIO_GROUP_GET_DEVICE_FD and bind Userspace would have already done VFIO_GROUP_SET_CONTAINER before it does the VFIO_GROUP_GET_DEVICE_FD. Jason