diff options
author | Kevin Wolf <kwolf@redhat.com> | 2011-06-07 17:51:21 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-06-15 15:43:20 +0200 |
commit | 7887f6201ff3fdc9a142eba14d61c563adb57596 (patch) | |
tree | d73ada91776eaaf7f87424c6514b0eeab7c1b31a /qemu-timer.h | |
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>
Diffstat (limited to 'qemu-timer.h')
0 files changed, 0 insertions, 0 deletions