Re: [dpdk-dev] [PATCH] vfio: fix secondary process initialization

2017-10-23 Thread Thomas Monjalon
20/10/2017 15:23, Anatoly Burakov: > When getting group fd from primary process, secondary wasn't storing > the fd anywhere, leading to a (harmless) error message in EAL logs, > and (not so harmless) potential problems when hot-unplugging devices > managed by VFIO in a secondary process. > > Fix i

[dpdk-dev] [PATCH] vfio: fix secondary process initialization

2017-10-20 Thread Anatoly Burakov
When getting group fd from primary process, secondary wasn't storing the fd anywhere, leading to a (harmless) error message in EAL logs, and (not so harmless) potential problems when hot-unplugging devices managed by VFIO in a secondary process. Fix it by actually storing the group fd whenever we