summaryrefslogtreecommitdiffstats
path: root/aio-posix.c
diff options
context:
space:
mode:
authorStefan Hajnoczi2016-12-01 20:26:44 +0100
committerStefan Hajnoczi2017-01-03 17:38:48 +0100
commitee68697551cd81186c5b12eba10c158350cf1165 (patch)
treed9dace9156a38f83ed94e08b30c195848599d826 /aio-posix.c
parentvirtio: poll virtqueues for new buffers (diff)
downloadqemu-ee68697551cd81186c5b12eba10c158350cf1165.tar.gz
qemu-ee68697551cd81186c5b12eba10c158350cf1165.tar.xz
qemu-ee68697551cd81186c5b12eba10c158350cf1165.zip
linux-aio: poll ring for completions
The Linux AIO userspace ABI includes a ring that is shared with the kernel. This allows userspace programs to process completions without system calls. Add an AioContext poll handler to check for completions in the ring. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 20161201192652.9509-6-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'aio-posix.c')
0 files changed, 0 insertions, 0 deletions