Hi Andrew,

> Please, take a look at http://dpdk.org/dev/patchwork/patch/23202/

I took a quick look. It should fix the problem (closing the group will cause 
container detachment, so we can always assume that if there's no container 
associated with the group, there are no devices within that group). The issue 
of vfio_release_device() still remains. I think the fix for that would closely 
follow what you did here: close the dev_fd, check if the group still has a 
container associated with it, and if not, close the group_fd and clear the 
group.

I cannot thoroughly test it right this moment, however I'll have time later 
during the week.

Thanks,
Anatoly

Reply via email to