]> Git Repo - qemu.git/commit
iohandler: Use aio API
authorFam Zheng <[email protected]>
Mon, 7 Sep 2015 03:28:58 +0000 (11:28 +0800)
committerPaolo Bonzini <[email protected]>
Mon, 7 Sep 2015 16:14:03 +0000 (18:14 +0200)
commitf3926945c85689e8af324c0db0b39be771dbbebb
tree886a0e84aa50d6e34191f4366c2a589b0680f4fa
parent46036b2462c7ff56c0af6466ea6b9248197a38a8
iohandler: Use aio API

iohandler.c shares the same interface with aio, but with duplicated
code. It's better to rebase iohandler, also because that aio is a
more friendly interface to multi-threads.

Create a global AioContext instance and let its GSource handle the
iohandler events.

Signed-off-by: Fam Zheng <[email protected]>
Message-Id: <1441596538[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
include/qemu/main-loop.h
iohandler.c
main-loop.c
This page took 0.022207 seconds and 4 git commands to generate.