]> git.proxmox.com Git - qemu.git/commit
aio / timers: aio_ctx_prepare sets timeout from AioContext timers
authorAlex Bligh <alex@alex.org.uk>
Wed, 21 Aug 2013 15:02:51 +0000 (16:02 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 22 Aug 2013 17:10:28 +0000 (19:10 +0200)
commit533a8cf3506172fe1966abc6875c65494378321e
tree3033ba3d8b28536078c07900b342d862ba7c21ba
parentd5541d86806acc2e1a3cf9e1402370ba884e9fe1
aio / timers: aio_ctx_prepare sets timeout from AioContext timers

Calculate the timeout in aio_ctx_prepare taking into account
the timers attached to the AioContext.

Alter aio_ctx_check similarly.

Signed-off-by: Alex Bligh <alex@alex.org.uk>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
async.c