commit | a3462c656128e7b900ccc5d436f9e858d07de264 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Jul 09 11:53:08 2014 +0200 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Fri Aug 29 10:46:58 2014 +0100 |
tree | f0a5ba8f06d80bbf14fb27466af9d3126b45c4e9 | |
parent | 0a9dd1664a0509f7c3c0c7a5550446258ee70f4b [diff] |
AioContext: introduce aio_prepare This will be used to implement socket polling on Windows. On Windows, select() and g_poll() are completely different; sockets are polled with select() before calling g_poll, and the g_poll must be nonblocking if select() says a socket is ready. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>