Re: [Qemu-devel] [RFC v3 11/27] monitor: allow to use IO thread for parsing

2017-11-06 Thread Fam Zheng
On Mon, 11/06 17:46, Peter Xu wrote: > For each Monitor, add one field "use_io_thr" to show whether it will be > using the dedicated monitor IO thread to handle input/output. When set, > monitor IO parsing work will be offloaded to dedicated monitor IO > thread, rather than the original main loop

[Qemu-devel] [RFC v3 11/27] monitor: allow to use IO thread for parsing

2017-11-06 Thread Peter Xu
For each Monitor, add one field "use_io_thr" to show whether it will be using the dedicated monitor IO thread to handle input/output. When set, monitor IO parsing work will be offloaded to dedicated monitor IO thread, rather than the original main loop thread. This only works for QMP. HMP will a