diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-09-24 14:37:53 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-30 09:30:53 +0100 |
commit | 7c0628b20e7c56b7e04abb8b5f8d7da3f7cb87e8 (patch) | |
tree | 9d5ee71c6356c75ee356b81a764951c2ad919434 /async.c | |
parent | 4231c88d27d9e46e6ad6e6b7bbb6e442bcf9cd05 (diff) | |
download | qemu-7c0628b20e7c56b7e04abb8b5f8d7da3f7cb87e8.zip qemu-7c0628b20e7c56b7e04abb8b5f8d7da3f7cb87e8.tar.gz qemu-7c0628b20e7c56b7e04abb8b5f8d7da3f7cb87e8.tar.bz2 |
aio: add non-blocking variant of aio_wait
This will be used when polling the GSource attached to an AioContext.
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'async.c')
-rw-r--r-- | async.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -144,5 +144,5 @@ AioContext *aio_context_new(void) void aio_flush(AioContext *ctx) { - while (aio_wait(ctx)); + while (aio_poll(ctx, true)); } |