Re: [dpdk-dev] [PATCH 1/3] vhost: fix deadlock due to vhostuser socket and fdset

2018-05-04 Thread Maxime Coquelin
On 04/27/2018 05:19 PM, xiangxia.m@gmail.com wrote: From: Tonghao Zhang When qemu close the unix socket fd of the vhostuser as a server, and then immediately delete the vhostuser port on openvswitch. There will be a deadlock. A thread (fdset event thread): B thread: 1. fdset_event_

Re: [dpdk-dev] [PATCH 1/3] vhost: fix deadlock due to vhostuser socket and fdset

2018-05-04 Thread Maxime Coquelin
On 04/27/2018 05:19 PM, xiangxia.m@gmail.com wrote: From: Tonghao Zhang When qemu close the unix socket fd of the vhostuser as a server, and then immediately delete the vhostuser port on openvswitch. There will be a deadlock. A thread (fdset event thread): B thread: 1. fdset_event_

[dpdk-dev] [PATCH 1/3] vhost: fix deadlock due to vhostuser socket and fdset

2018-04-27 Thread xiangxia . m . yue
From: Tonghao Zhang When qemu close the unix socket fd of the vhostuser as a server, and then immediately delete the vhostuser port on openvswitch. There will be a deadlock. A thread (fdset event thread): B thread: 1. fdset_event_dispatch rte_vhost_driver_unregister 2. set the