commit | f3926945c85689e8af324c0db0b39be771dbbebb | [log] [tgz] |
---|---|---|
author | Fam Zheng <famz@redhat.com> | Mon Sep 07 11:28:58 2015 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Sep 07 18:14:03 2015 +0200 |
tree | 886a0e84aa50d6e34191f4366c2a589b0680f4fa | |
parent | 46036b2462c7ff56c0af6466ea6b9248197a38a8 [diff] |
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 <famz@redhat.com> Message-Id: <1441596538-4412-1-git-send-email-famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>