Re: [PATCH v10 2/7] libvhost-user: remove watch for kick_fd when de-initialize vu-dev

2020-09-18 Thread Stefan Hajnoczi
On Fri, Sep 18, 2020 at 04:09:07PM +0800, Coiby Xu wrote: > When the client is running in gdb and quit command is run in gdb, > QEMU will still dispatch the event which will cause segment fault in > the callback function. > > Signed-off-by: Coiby Xu > --- > contrib/libvhost-user/libvhost-user.c

[PATCH v10 2/7] libvhost-user: remove watch for kick_fd when de-initialize vu-dev

2020-09-18 Thread Coiby Xu
When the client is running in gdb and quit command is run in gdb, QEMU will still dispatch the event which will cause segment fault in the callback function. Signed-off-by: Coiby Xu --- contrib/libvhost-user/libvhost-user.c | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/libvhost-use