On 24/07/2017 12:38, wang.yong...@zte.com.cn wrote: > finally use g_main_loop_run to replace aio_poll in the > iothread_run function.
That would make the performance of virtio-blk with iothreads worse, unfortunately. aio_poll is much more optimized than g_main_loop_run. Paolo > After that IOThread > runs the GMainContext event loop,chardev and IOThread can work together. > > How about it? If feasible, I will try to submit a patch.