Re: [Qemu-devel] [PATCH 0/4] RFC: make chardev context switching safer

2019-02-21 Thread Marc-André Lureau
Hi On Thu, Feb 21, 2019 at 8:58 AM Peter Xu wrote: > > On Wed, Feb 20, 2019 at 05:06:24PM +0100, Marc-André Lureau wrote: > > Hi, > > Hi, > > > > > The chardev context switching code is a bit fragile, as it works as if > > the current context is properly synchronized with the new context. It >

Re: [Qemu-devel] [PATCH 0/4] RFC: make chardev context switching safer

2019-02-20 Thread Peter Xu
On Wed, Feb 20, 2019 at 05:06:24PM +0100, Marc-André Lureau wrote: > Hi, Hi, > > The chardev context switching code is a bit fragile, as it works as if > the current context is properly synchronized with the new context. It > isn't so obvious to me that concurrent usage of chardev can't

[Qemu-devel] [PATCH 0/4] RFC: make chardev context switching safer

2019-02-20 Thread Marc-André Lureau
Hi, The chardev context switching code is a bit fragile, as it works as if the current context is properly synchronized with the new context. It isn't so obvious to me that concurrent usage of chardev can't happen, as there might be various main loop sources being dispatched during the switch.