summaryrefslogtreecommitdiffstats
path: root/hw/display
diff options
context:
space:
mode:
authorStefan Hajnoczi2016-12-01 20:26:49 +0100
committerStefan Hajnoczi2017-01-03 17:38:50 +0100
commit684e508c23d28af8d6ed2c62738a0f60447c8274 (patch)
treeacf9dd6f848c5419b756d30124f9727dafb3553d /hw/display
parentvirtio: turn vq->notification into a nested counter (diff)
downloadqemu-684e508c23d28af8d6ed2c62738a0f60447c8274.tar.gz
qemu-684e508c23d28af8d6ed2c62738a0f60447c8274.tar.xz
qemu-684e508c23d28af8d6ed2c62738a0f60447c8274.zip
aio: add .io_poll_begin/end() callbacks
The begin and end callbacks can be used to prepare for the polling loop and clean up when polling stops. Note that they may only be called once for multiple aio_poll() calls if polling continues to succeed. Once polling fails the end callback is invoked before aio_poll() resumes file descriptor monitoring. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 20161201192652.9509-11-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/display')
0 files changed, 0 insertions, 0 deletions