On Fri, Nov 24, 2017 at 11:01:49AM +0000, Dr. David Alan Gilbert wrote: > * Peter Xu (pet...@redhat.com) wrote: > > Start to use dedicate IO thread for QMP monitors that are not using > > MUXed chardev. > > > > Signed-off-by: Peter Xu <pet...@redhat.com> > > Reviewed-by: Dr. David Alan Gilbert <dgilb...@redhat.com>
Thanks! > > I guess another way to do this would be to have a property on the > Chardev something like 'can use iothread' and clear that for Mux. Yeh we can. Though I would still prefer to put that in Monitor struct since current IOThread is really tailored only for monitors. IOW not all Chardevs can be run in the IOThread (or say, the thread currently named as "mon_iothread") safely. Thanks, -- Peter Xu