On Wed, Nov 23, 2022 at 07:01:13AM -0800, Yi Liu wrote: > +void vfio_device_group_abort_open(struct vfio_device *device) > +{ > + mutex_lock(&device->group->group_lock); > + if (device->group->container) > + vfio_device_container_unregister(device); > + mutex_unlock(&device->group->group_lock); > +} I'm looking at your git branch and I don't see this called? drivers/vfio/group.c:void vfio_device_group_abort_open(struct vfio_device *device) drivers/vfio/vfio.h:void vfio_device_group_abort_open(struct vfio_device *device); ? Jason