aio-win32: Factor out duplicate code into aio_dispatch_handlers
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 9 Jul 2014 09:53:03 +0000 (11:53 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 29 Aug 2014 09:46:58 +0000 (10:46 +0100)
commita398dea34c62b238e714bb4c3a968b4ca11e256b
tree94a921fd58674aad1966c124a64ddca586266ea6
parentd397ec99bb1c03a06afbeab7bfa65a43138eafb6
aio-win32: Factor out duplicate code into aio_dispatch_handlers

Later, the call to aio_dispatch will move int the GSource wrapper, while the
standalone case will still be call the component functions aio_bh_poll,
aio_dispatch_handlers and timerlistgroup_run_timers.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
aio-win32.c