Statistics
| Branch: | Revision:

root / qemu-coroutine-sleep.c @ feature-archipelago

History | View | Annotate | Download (1.3 kB)

# Date Author Comment
3ab7bd19 10/30/2013 01:22 pm MORITA Kazutaka

coroutine: add co_aio_sleep_ns() to allow sleep in block drivers

This helper function behaves similarly to co_sleep_ns(), but the
sleeping coroutine will be resumed when using qemu_aio_wait().

Signed-off-by: MORITA Kazutaka <>...

7483d1e5 08/22/2013 08:14 pm Alex Bligh

aio / timers: convert block_job_sleep_ns and co_sleep_ns to new API

Convert block_job_sleep_ns and co_sleep_ns to use the new timer
API.

Signed-off-by: Alex Bligh <>
Signed-off-by: Stefan Hajnoczi <>

1de7afc9 12/19/2012 09:32 am Paolo Bonzini

misc: move include files to include/qemu/

Signed-off-by: Paolo Bonzini <>

737e150e 12/19/2012 09:31 am Paolo Bonzini

block: move include files to include/block/

Signed-off-by: Paolo Bonzini <>

3ed99025 04/19/2012 05:03 pm Paolo Bonzini

block: allow interrupting a co_sleep_ns

In the next patch we want to reenter the coroutine from
block_job_cancel_sync and cancel the timer.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Kevin Wolf <>

7e624667 01/26/2012 12:45 pm Stefan Hajnoczi

coroutine: add co_sleep_ns() coroutine sleep function

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Kevin Wolf <>