1. 26 Apr, 2012 1 commit
  2. 21 Oct, 2011 1 commit
  3. 06 Sep, 2011 1 commit
    • Kevin Wolf's avatar
      async: Allow nested qemu_bh_poll calls · 648fb0ea
      Kevin Wolf authored
      qemu may segfault when a BH handler first deletes a BH and then (possibly
      indirectly) calls a nested qemu_bh_poll(). This is because the inner instance
      frees the BH and deletes it from the list that the outer one processes.
      This patch deletes BHs only in the outermost qemu_bh_poll instance.
      Commit 7887f620
       already tried to achieve the same, but it assumed that the BH
      handler would only delete its own BH. With a nested qemu_bh_poll(), this isn't
      guaranteed, so that commit wasn't enough. Hope this one fixes it for real.
      Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
  4. 20 Aug, 2011 1 commit
  5. 02 Aug, 2011 1 commit
    • Kevin Wolf's avatar
      async: Remove AsyncContext · 384acbf4
      Kevin Wolf authored
      The purpose of AsyncContexts was to protect qcow and qcow2 against reentrancy
      during an emulated bdrv_read/write (which includes a qemu_aio_wait() call and
      can run AIO callbacks of different requests if it weren't for AsyncContexts).
      Now both qcow and qcow2 are protected by CoMutexes and AsyncContexts can be
      Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
  6. 15 Jun, 2011 1 commit
  7. 27 Oct, 2009 2 commits