qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] f5022a: aio: fix aio_ctx_prepare with idle bo


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] f5022a: aio: fix aio_ctx_prepare with idle bottom halves
Date: Mon, 12 Nov 2012 08:30:08 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: f5022a135e4309a54d433c69b2a056756b2d0d6b
      
https://github.com/qemu/qemu/commit/f5022a135e4309a54d433c69b2a056756b2d0d6b
  Author: Paolo Bonzini <address@hidden>
  Date:   2012-11-12 (Mon, 12 Nov 2012)

  Changed paths:
    M async.c

  Log Message:
  -----------
  aio: fix aio_ctx_prepare with idle bottom halves

Commit ed2aec4867f0d5f5de496bb765347b5d0cfe113d changed the return
value of aio_ctx_prepare from false to true when only idle bottom
halves are available.  This broke PC old-style DMA, which uses them.
Fix this by making aio_ctx_prepare return true only when non-idle
bottom halves are scheduled to run.

Reported-by: malc <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: malc <address@hidden>




reply via email to

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