qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Allow nested qemu_bh_poll() after BH deletion


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] Allow nested qemu_bh_poll() after BH deletion
Date: Wed, 15 Jun 2011 13:04:39 +0100

On Wed, Jun 15, 2011 at 11:33 AM, Kevin Wolf <address@hidden> wrote:
> 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 <address@hidden>
> ---
>  async.c |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)

Almost worth switching to qemu-queue.h and FOREACH_SAFE().

Reviewed-by: Stefan Hajnoczi <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]