Re: [Qemu-devel] [PATCH v4] libvhost-user-glib: fix VugDev main fd cleanup

2019-08-28 Thread Marc-André Lureau
On Wed, Aug 28, 2019 at 12:37 PM Johannes Berg wrote: > > From: Johannes Berg > > If you try to make a device implementation that can handle multiple > connections and allow disconnections (which requires overriding the > VHOST_USER_NONE handling), then glib will warn that we remove a src > while

[Qemu-devel] [PATCH v4] libvhost-user-glib: fix VugDev main fd cleanup

2019-08-28 Thread Johannes Berg
From: Johannes Berg If you try to make a device implementation that can handle multiple connections and allow disconnections (which requires overriding the VHOST_USER_NONE handling), then glib will warn that we remove a src while it's still on the mainloop, and will poll() an FD that doesn't exis