1. 30 10月, 2012 10 次提交
  2. 28 9月, 2012 2 次提交
  3. 19 4月, 2012 3 次提交
  4. 14 1月, 2012 1 次提交
  5. 21 8月, 2011 1 次提交
  6. 21 5月, 2010 1 次提交
  7. 28 10月, 2009 1 次提交
  8. 12 9月, 2009 1 次提交
    • B
      Fix sys-queue.h conflict for good · 72cf2d4f
      Blue Swirl 提交于
      Problem: Our file sys-queue.h is a copy of the BSD file, but there are
      some additions and it's not entirely compatible. Because of that, there have
      been conflicts with system headers on BSD systems. Some hacks have been
      introduced in the commits 15cc9235,
      f40d7537,
      96555a96 and
      3990d09a but the fixes were fragile.
      
      Solution: Avoid the conflict entirely by renaming the functions and the
      file. Revert the previous hacks.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      72cf2d4f
  9. 22 7月, 2009 1 次提交
  10. 15 6月, 2009 1 次提交
  11. 09 5月, 2009 1 次提交
    • A
      AIO deletion race fix · 79d5ca56
      Alexander Graf 提交于
      When deleting an fd event there is a chance the object doesn't get
      deleted, but only ->deleted set positive and deleted somewhere later.
      
      Now, if we create a handler for the fd again before the actual
      deletion occurs, we end up writing data into an object that has
      ->deleted set, which is obviously wrong.
      
      I see two ways to fix this:
      
      1. Don't return ->deleted objects in the search
      2. Unset ->deleted in the search
      
      This patch implements 1. which feels safer to do. It fixes AIO issues
      I've seen with curl, as libcurl unsets fd event listeners pretty
      frequently.
      Signed-off-by: NAlexander Graf <alex@csgraf.de>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      79d5ca56
  12. 06 2月, 2009 1 次提交
  13. 13 10月, 2008 1 次提交
  14. 23 9月, 2008 1 次提交
    • A
      Refactor AIO to allow multiple AIO implementations · a76bab49
      aliguori 提交于
      This patch refactors the AIO layer to allow multiple AIO implementations.  It's
      only possible because of the recent signalfd() patch.  
      
      Right now, the AIO infrastructure is pretty specific to the block raw backend.
      For other block devices to implement AIO, the qemu_aio_wait function must
      support registration.  This patch introduces a new function,
      qemu_aio_set_fd_handler, which can be used to register a file descriptor to be
      called back.  qemu_aio_wait() now polls a set of file descriptors registered
      with this function until one becomes readable or writable.
      
      This patch should allow the implementation of alternative AIO backends (via a
      thread pool or linux-aio) and AIO backends in non-traditional block devices
      (like NBD).
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5297 c046a42c-6fe2-441c-8c8c-71466251a162
      a76bab49