« Previous | Next » 

Revision 3ab7bd19

ID3ab7bd1917d210eac5d2a80593899ec70c4e998c

Added by MORITA Kazutaka over 10 years ago

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 <>
Tested-by: Liu Yuan <>
Reviewed-by: Liu Yuan <>
Signed-off-by: Kevin Wolf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences