[dpdk-dev] [PATCH v2 4/4] vfio: enable vfio hotplug by req notifier handler

2018-10-02 Thread Jeff Guo
When device is be hot-unplugged, the vfio kernel module will sent req notifier to request user space to release the allocated resources at first. After that, vfio kernel module will detect the device disappear, and then delete the device in kernel. This patch aim to add req notifier processing to

Re: [dpdk-dev] [PATCH v2 4/4] vfio: enable vfio hotplug by req notifier handler

2018-10-01 Thread Jeff Guo
thanks , andrew. On 10/1/2018 5:47 PM, Andrew Rybchenko wrote: On 9/30/18 5:16 PM, Jeff Guo wrote: When device is be hot-unplugged, the vfio kernel module will sent req notifier to request user space to release the allocated resources at first. After that, vfio kernel module will detect the dev

Re: [dpdk-dev] [PATCH v2 4/4] vfio: enable vfio hotplug by req notifier handler

2018-10-01 Thread Andrew Rybchenko
On 9/30/18 5:16 PM, Jeff Guo wrote: When device is be hot-unplugged, the vfio kernel module will sent req notifier to request user space to release the allocated resources at first. After that, vfio kernel module will detect the device disappear, and then delete the device in kernel. This patch

[dpdk-dev] [PATCH v2 4/4] vfio: enable vfio hotplug by req notifier handler

2018-09-30 Thread Jeff Guo
When device is be hot-unplugged, the vfio kernel module will sent req notifier to request user space to release the allocated resources at first. After that, vfio kernel module will detect the device disappear, and then delete the device in kernel. This patch aim to add req notifier processing to