Re: [dpdk-dev] [PATCH] vfio: don't needlessly setup devices in secondary process

2018-11-25 Thread Thomas Monjalon
23/11/2018 10:12, Burakov, Anatoly: > On 21-Nov-18 6:41 PM, Darek Stojaczyk wrote: > > Setting up a device that wasn't setup in the primary > > process will possibly break the primary process. That's > > because the IPC message to retrieve the group fd in the > > primary will also *open* that group

Re: [dpdk-dev] [PATCH] vfio: don't needlessly setup devices in secondary process

2018-11-23 Thread Maxime Coquelin
On 11/21/18 7:41 PM, Darek Stojaczyk wrote: Setting up a device that wasn't setup in the primary process will possibly break the primary process. That's because the IPC message to retrieve the group fd in the primary will also *open* that group if it wasn't opened before. Even though the secon

Re: [dpdk-dev] [PATCH] vfio: don't needlessly setup devices in secondary process

2018-11-23 Thread Burakov, Anatoly
On 21-Nov-18 6:41 PM, Darek Stojaczyk wrote: Setting up a device that wasn't setup in the primary process will possibly break the primary process. That's because the IPC message to retrieve the group fd in the primary will also *open* that group if it wasn't opened before. Even though the seconda

[dpdk-dev] [PATCH] vfio: don't needlessly setup devices in secondary process

2018-11-21 Thread Darek Stojaczyk
Setting up a device that wasn't setup in the primary process will possibly break the primary process. That's because the IPC message to retrieve the group fd in the primary will also *open* that group if it wasn't opened before. Even though the secondary process closes that fd soon after as a part