« Previous | Next » 

Revision f5022a13

IDf5022a135e4309a54d433c69b2a056756b2d0d6b

Added by Paolo Bonzini almost 12 years ago

aio: fix aio_ctx_prepare with idle bottom halves

Commit ed2aec4867f0d5f5de496bb765347b5d0cfe113d changed the return
value of aio_ctx_prepare from false to true when only idle bottom
halves are available. This broke PC old-style DMA, which uses them.
Fix this by making aio_ctx_prepare return true only when non-idle
bottom halves are scheduled to run.

Reported-by: malc <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: malc <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences