Re: [Qemu-devel] [PATCH] vhost-user: fix reconnection support for host notifier

2019-06-06 Thread Tiwei Bie
Hi, On Thu, Jun 06, 2019 at 03:30:29PM +0200, Marc-André Lureau wrote: > Hi > > On Fri, Apr 26, 2019 at 8:32 AM Tiwei Bie wrote: > > > > We need to destroy the host notifiers when cleaning up > > the backend. Otherwise, some resources are not released > > after the connection is closed, and it m

Re: [Qemu-devel] [PATCH] vhost-user: fix reconnection support for host notifier

2019-06-06 Thread Marc-André Lureau
Hi On Fri, Apr 26, 2019 at 8:32 AM Tiwei Bie wrote: > > We need to destroy the host notifiers when cleaning up > the backend. Otherwise, some resources are not released > after the connection is closed, and it may prevent the > external backend from reopening them (e.g. VFIO files) > during resta

[Qemu-devel] [PATCH] vhost-user: fix reconnection support for host notifier

2019-04-25 Thread Tiwei Bie
We need to destroy the host notifiers when cleaning up the backend. Otherwise, some resources are not released after the connection is closed, and it may prevent the external backend from reopening them (e.g. VFIO files) during restart. Fixes: 44866521bd6e ("vhost-user: support registering externa