On Tue, 08/01 12:25, Paolo Bonzini wrote: > On 28/07/2017 02:25, Fam Zheng wrote: > > On Thu, 07/27 15:47, Zhang Chen wrote: > >> CC. Fam and David. > >> > >> Any idea about it? > > > > Is it possible to use g_main_context_{push,pop}_thread_default to "move" > > chardev > > GSources to IOThread's context, then use g_main_context_query like main > > thread > > and poll the fds in aio_poll? > > How would you do that without making aio_poll performance worse for > everyone?
I don't knoe. Maintain a flag and only do these slow stuff after at least one GSource has been moved around? Fam