Re: [Qemu-devel] [PATCH 2/6] monitor: accept chardev input from iothread

2018-10-29 Thread Marc-André Lureau
Hi On Wed, Oct 10, 2018 at 7:45 AM Peter Xu wrote: > > On Tue, Oct 09, 2018 at 05:12:47PM +0400, Marc-André Lureau wrote: > > Chardev backends may not handle safely IO events from concurrent > > threads. Better to wake up the chardev from the monitor IO thread if > > it's being used as the charde

Re: [Qemu-devel] [PATCH 2/6] monitor: accept chardev input from iothread

2018-10-09 Thread Peter Xu
On Tue, Oct 09, 2018 at 05:12:47PM +0400, Marc-André Lureau wrote: > Chardev backends may not handle safely IO events from concurrent > threads. Better to wake up the chardev from the monitor IO thread if > it's being used as the chardev context. > > Signed-off-by: Marc-André Lureau > --- > moni

[Qemu-devel] [PATCH 2/6] monitor: accept chardev input from iothread

2018-10-09 Thread Marc-André Lureau
Chardev backends may not handle safely IO events from concurrent threads. Better to wake up the chardev from the monitor IO thread if it's being used as the chardev context. Signed-off-by: Marc-André Lureau --- monitor.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff -