Statistics
| Branch: | Revision:

root / async.c @ 640e5404

History | View | Annotate | Download (5.9 kB)

# Date Author Comment
7887f620 06/15/2011 04:43 pm Kevin Wolf

Allow nested qemu_bh_poll() after BH deletion

Without this, qemu segfaults when a BH handler first deletes its BH and
then calls another function which involves a nested qemu_bh_poll() call.

This can be reproduced by generating an I/O error (e.g. with blkdebug) on...

4f999d05 10/27/2009 07:28 pm Kevin Wolf

Split out bottom halves

Instead of putting more and more stuff into vl.c, let's have the generic
functions that deal with asynchronous callbacks in their own file.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Anthony Liguori <>

9a1e9481 10/27/2009 07:28 pm Kevin Wolf

Introduce contexts for asynchronous callbacks

Add the possibility to use AIO and BHs without allowing foreign callbacks to be
run. Basically, you put your own AIOs and BHs in a separate context. For
details see the comments in the source.

Signed-off-by: Kevin Wolf <>...