Sent it to qemu-devel. Li Qiang <liq...@gmail.com> 于2018年12月19日周三 下午6:04写道:
> Hello Paolo, Stefan, Fam and all, > > Here I have a question about 'aio_poll'. > IIUC the 'aio_poll' is (mostly) used for synchronous IO > as I see a lot of code like this: > while(condition) > aio_poll(); > > However it seems the 'aio_poll' and 'aio_ctx_dispatch' both poll the fd. > So what happened when the 'fd' has events, which function will be wakeup? > > Thanks, > Li Qiang > >