On 21/01/2016 11:39, Gerd Hoffmann wrote: > How does BH signaling work? I know I can qemu_bh_schedule from !main > thread to kick BH in main thread context. The other way around works > using aio_bh_new + aio_bh_call I guess?
Yes. The code will run in the iothread. Note that I'm modifying AioContext to *require* an IOThread if you use it outside the main thread. Paolo