1. 05 Oct, 2008 1 commit
  2. 04 Oct, 2008 2 commits
  3. 02 Oct, 2008 1 commit
  4. 01 Oct, 2008 3 commits
  5. 30 Sep, 2008 3 commits
  6. 29 Sep, 2008 1 commit
  7. 28 Sep, 2008 2 commits
  8. 27 Sep, 2008 2 commits
  9. 25 Sep, 2008 1 commit
  10. 22 Sep, 2008 1 commit
  11. 20 Sep, 2008 1 commit
  12. 18 Sep, 2008 1 commit
  13. 15 Sep, 2008 1 commit
    • aliguori's avatar
      Use common objects for qemu-img and qemu-nbd · 03ff3ca3
      aliguori authored
      
      
      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: default avatarAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5226 c046a42c-6fe2-441c-8c8c-71466251a162
      03ff3ca3
  14. 14 Sep, 2008 2 commits
  15. 13 Sep, 2008 1 commit
    • aliguori's avatar
      usb: Support for removing device by host addr, improved auto filter syntax (Max Krasnyansky) · 5d0c5750
      aliguori authored
      
      
      This patch adds support for removing USB devices by host address.
      Which is usefull for things like libvirtd because there is no easy way to
      find guest USB address of the host device.
      In other words you can now do:
         usb_add host:3.5
         ...
         usb_del host:3.5
      Before the patch 'usb_del' did not support 'host:' notation.
      
      ----
      Syntax for specifying auto connect filters has been improved.
      Old syntax was
          host:bus.dev
          host:pid:vid
      New syntax is
          host:auto:bus.dev[:pid:vid]
      In both the cases any attribute can be set to "*".
      
      New syntax is more flexible and lets you do things like
          host:3.*:5533:* /* grab any device on bus 3 with vendor id 5533 */
      
      It's now possible to remove auto filters. For example:
          usb_del host:auto:3.*:5533:*
      
      Active filters are printed after all host devices in 'info usb' output.
      Which now looks like this:
      
        Device 1.1, speed 480 Mb/s
          Hub: USB device 1d6b:0002, EHCI Host Controller
        Device 1.4, speed 480 Mb/s
          Class 00: USB device 1058:0704, External HDD
        Auto filters:
          Device 3.* ID *:*
      Signed-off-by: default avatarMax Krasnyansky <maxk@kernel.org>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5205 c046a42c-6fe2-441c-8c8c-71466251a162
      5d0c5750
  16. 10 Sep, 2008 1 commit
    • aliguori's avatar
      Use signalfd() to work around signal/select race · baf35cb9
      aliguori authored
      
      
      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: default avatarAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5187 c046a42c-6fe2-441c-8c8c-71466251a162
      baf35cb9
  17. 09 Sep, 2008 1 commit
  18. 02 Sep, 2008 1 commit
  19. 28 Aug, 2008 1 commit
  20. 24 Aug, 2008 1 commit
  21. 22 Aug, 2008 1 commit
  22. 21 Aug, 2008 6 commits
  23. 19 Aug, 2008 1 commit
  24. 17 Aug, 2008 1 commit
  25. 15 Aug, 2008 1 commit
  26. 12 Aug, 2008 1 commit
  27. 11 Aug, 2008 1 commit