commit | 7887f6201ff3fdc9a142eba14d61c563adb57596 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Tue Jun 07 17:51:21 2011 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Wed Jun 15 15:43:20 2011 +0200 |
tree | d73ada91776eaaf7f87424c6514b0eeab7c1b31a | |
parent | ee752da74f5d07cf441f8d42455c4241d6051ae5 [diff] |
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 an IDE device and using rerror/werror=stop to stop the VM. When continuing the VM, qemu segfaults. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>