Skip to content
  • Fam Zheng's avatar
    iohandler: Use aio API · f3926945
    Fam Zheng authored
    
    
    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: default avatarFam Zheng <famz@redhat.com>
    Message-Id: <1441596538-4412-1-git-send-email-famz@redhat.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    f3926945