commit | cd9ba1ebcf0439457f22b75b38533f6634f23c5f | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Sep 24 14:57:22 2012 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Oct 30 09:30:53 2012 +0100 |
tree | e7af1d5a5aa7816810a3f44fde0e6d025c10f282 | |
parent | 7c0628b20e7c56b7e04abb8b5f8d7da3f7cb87e8 [diff] |
aio: prepare for introducing GSource-based dispatch This adds a GPollFD to each AioHandler. It will then be possible to attach these GPollFDs to a GSource, and from there to the main loop. aio_wait examines the GPollFDs and avoids calling select() if any is set (similar to what it does if bottom halves are available). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>