1. 27 4月, 2012 1 次提交
  2. 22 10月, 2011 1 次提交
  3. 06 9月, 2011 1 次提交
    • K
      async: Allow nested qemu_bh_poll calls · 648fb0ea
      Kevin Wolf 提交于
      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: NKevin Wolf <kwolf@redhat.com>
      648fb0ea
  4. 21 8月, 2011 1 次提交
  5. 02 8月, 2011 1 次提交
    • K
      async: Remove AsyncContext · 384acbf4
      Kevin Wolf 提交于
      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
      removed.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      384acbf4
  6. 15 6月, 2011 1 次提交
  7. 28 10月, 2009 2 次提交