Re: [Qemu-devel] [PATCH 3/3] async: Allow nested qemu_bh_poll calls

2011-09-02 Thread Stefan Hajnoczi
On Thu, Sep 1, 2011 at 3:31 PM, Kevin Wolf wrote: > qemu may segfault when a BH handler first deletes a BH and then (possibly > indirectly) calls a nested qemu_bh_poll(). This is because the inner instance > frees the BH and deletes it from the list that the outer one processes. > > This patch del

[Qemu-devel] [PATCH 3/3] async: Allow nested qemu_bh_poll calls

2011-09-01 Thread Kevin Wolf
qemu may segfault when a BH handler first deletes a BH and then (possibly indirectly) calls a nested qemu_bh_poll(). This is because the inner instance frees the BH and deletes it from the list that the outer one processes. This patch deletes BHs only in the outermost qemu_bh_poll instance. Commi