Am 06.03.2018 um 11:53 hat Stefan Hajnoczi geschrieben:
> Nested BDRV_POLL_WHILE() calls can occur.  Currently
> assert(!bs_->wakeup) will fail when this happens.
> This patch converts bs->wakeup from bool to a counter.
> Nesting works correctly because outer BDRV_POLL_WHILE() callers evaluate
> the condition again after the inner caller completes (invoking the inner
> caller counts as aio_poll() progress).
> Reported-by: "fuweiwei (C)" <>
> Cc: Paolo Bonzini <>
> Signed-off-by: Stefan Hajnoczi <>

Doesn't this conflict with your own AIO_WAIT_WHILE() patch?


Reply via email to