1. 29 9月, 2008 6 次提交
  2. 24 9月, 2008 1 次提交
  3. 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
  4. 15 9月, 2008 1 次提交
    • A
      Use common objects for qemu-img and qemu-nbd · 03ff3ca3
      aliguori 提交于
      Right now, we sprinkle #if defined(QEMU_IMG) && defined(QEMU_NBD) all over the
      code.  It's ugly and causes us to have to build multiple object files for
      linking against qemu and the tools.
      
      This patch introduces a new file, qemu-tool.c which contains enough for
      qemu-img, qemu-nbd, and QEMU to all share the same objects.
      
      This also required getting qemu-nbd to be a bit more Windows friendly.  I also
      changed the Windows block-raw to use normal IO instead of overlapping IO since
      we don't actually do AIO yet on Windows.  I changed the various #if 0's to
       #if WIN32_AIO to make it easier for someone to eventually fix AIO on Windows.
      
      After this patch, there are no longer any #ifdef's related to qemu-img and
      qemu-nbd.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5226 c046a42c-6fe2-441c-8c8c-71466251a162
      03ff3ca3
  5. 12 9月, 2008 1 次提交
  6. 10 9月, 2008 1 次提交
    • A
      Use signalfd() to work around signal/select race · baf35cb9
      aliguori 提交于
      This patch introduces signalfd() to work around the signal/select race in
      checking for AIO completions.  For platforms that don't support signalfd(), we
      emulate it with threads.
      
      There was a long discussion about this approach.  I don't believe there are any
      fundamental problems with this approach and I believe eliminating the use of
      signals is a good thing.
      
      I've tested Windows and Linux using Windows and Linux guests.  I've also checked
      for disk IO performance regressions.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5187 c046a42c-6fe2-441c-8c8c-71466251a162
      baf35cb9
  7. 22 8月, 2008 1 次提交
    • A
      Fix windows build · cd01b4a3
      aliguori 提交于
      Right now, the Windows build is broken because of NBD.  Using a mingw32 cross
      compiler is also badly broken.
      
      This patch fixes the Windows build by stubbing out NBD support until someone
      fixes it for Windows.  It also santizing the mingw32 cross compiler support
      by replacing the --enable-mingw32 option with a compiler check to determine
      if we're on windows or not.
      
      Also remove the weird SDL pseudo-detection for mingw32 using a cross compiler.
      The hardcoded sdl-config name is seemly arbitrary.  If you cross compiler SDL
      correctly and modify your PATH variable appropriately, it will Just Work when
      cross compiling.
      
      The audio driver detection is also broken for cross compiling so you have to
      specify the audio drivers explicitly for now.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5046 c046a42c-6fe2-441c-8c8c-71466251a162
      cd01b4a3
  8. 02 8月, 2008 1 次提交
  9. 27 7月, 2008 1 次提交
  10. 19 7月, 2008 1 次提交
  11. 18 7月, 2008 1 次提交
  12. 03 7月, 2008 4 次提交
  13. 09 6月, 2008 1 次提交
  14. 29 5月, 2008 1 次提交
  15. 28 5月, 2008 1 次提交
  16. 10 5月, 2008 1 次提交
  17. 24 4月, 2008 1 次提交
  18. 23 4月, 2008 1 次提交
  19. 15 4月, 2008 1 次提交
    • B
      Nokia N800 machine support (ARM). · 7e7c5e4c
      balrog 提交于
      Also add various peripherals: two miscellaneous Nokia CBUS chips,
      EPSON S1D13745 LCD/TV remote-framebuffer controller,
      TWL92230 - standard OMAP2 power management companion chip on i2c.
      Generic OneNAND flash memory,
      TMP105 temperature sensor on i2c.
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4215 c046a42c-6fe2-441c-8c8c-71466251a162
      7e7c5e4c
  20. 08 4月, 2008 1 次提交
  21. 01 4月, 2008 1 次提交
  22. 06 3月, 2008 1 次提交
  23. 11 2月, 2008 1 次提交
  24. 01 2月, 2008 1 次提交
  25. 31 1月, 2008 1 次提交
  26. 14 1月, 2008 3 次提交
  27. 07 1月, 2008 1 次提交
  28. 25 12月, 2007 1 次提交
  29. 16 12月, 2007 1 次提交
  30. 09 12月, 2007 1 次提交