Hi Bruce, > The below patch is the quickest fix I found to make my applications work > again, but I'm not sure it's the best solution. Can anyone else offer other > suggestions to improve this?
Are you running things as root? If not, I suggest to try and use the setup.sh script to correct permissions on the VFIO container and see if it works. The inability of opening a container is likely a problem with permissions on the container, and thus should be considered fatal as far as VFIO is concerned. However, given that we try to use VFIO unconditionally, I think your suggestion is a good solution to the problem, however I would also close the group fd's that were already opened before returning 1. Best regards, Anatoly Burakov DPDK SW Engineer