Re: [Qemu-devel] [RFC 0/3] chardev: introduce chardev contexts

2018-08-26 Thread Peter Xu
On Fri, Aug 24, 2018 at 03:46:03PM +0200, Marc-André Lureau wrote: > Hi, > > On Fri, Aug 24, 2018 at 11:10 AM Peter Xu wrote: > > > > This is a RFC series. It majorly did these things: > > > > (1) move the monitor iothread management from monitor code to chardev > > code somehow, > > > > (2)

Re: [Qemu-devel] [RFC 0/3] chardev: introduce chardev contexts

2018-08-24 Thread Marc-André Lureau
Hi, On Fri, Aug 24, 2018 at 11:10 AM Peter Xu wrote: > > This is a RFC series. It majorly did these things: > > (1) move the monitor iothread management from monitor code to chardev > code somehow, > > (2) decide which context/iothread to use for the chardev before > chardev creates, by

[Qemu-devel] [RFC 0/3] chardev: introduce chardev contexts

2018-08-24 Thread Peter Xu
This is a RFC series. It majorly did these things: (1) move the monitor iothread management from monitor code to chardev code somehow, (2) decide which context/iothread to use for the chardev before chardev creates, by parsing monitor options earlier (not init, but only parsing) sinc