1. 22 5月, 2009 1 次提交
    • J
      USB serial device support · d55ebf55
      Jason Wessel 提交于
      Add in a workaround to allow the usb serial devices to work with the
      usb pass through mechanism.  The ioctl() to request an alternate
      interface will always return < 0 for a usb-serial device based on the
      kernel driver.  This means there is no alternate interface end point.
      
      This was fully tested with a pl2303 usb serial device.
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      d55ebf55
  2. 06 3月, 2009 1 次提交
    • A
      monitor: Rework API (Jan Kiszka) · 376253ec
      aliguori 提交于
      Refactor the monitor API and prepare it for decoupled terminals:
      term_print functions are renamed to monitor_* and all monitor services
      gain a new parameter (mon) that will once refer to the monitor instance
      the output is supposed to appear on. However, the argument remains
      unused for now. All monitor command callbacks are also extended by a mon
      parameter so that command handlers are able to pass an appropriate
      reference to monitor output services.
      
      For the case that monitor outputs so far happen without clearly
      identifiable context, the global variable cur_mon is introduced that
      shall once provide a pointer either to the current active monitor (while
      processing commands) or to the default one. On the mid or long term,
      those use case will be obsoleted so that this variable can be removed
      again.
      
      Due to the broad usage of the monitor interface, this patch mostly deals
      with converting users of the monitor API. A few of them are already
      extended to pass 'mon' from the command handler further down to internal
      functions that invoke monitor_printf.
      
      At this chance, monitor-related prototypes are moved from console.h to
      a new monitor.h. The same is done for the readline API.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6711 c046a42c-6fe2-441c-8c8c-71466251a162
      376253ec
  3. 06 2月, 2009 1 次提交
  4. 28 12月, 2008 1 次提交
  5. 23 11月, 2008 2 次提交
  6. 29 10月, 2008 1 次提交
  7. 25 10月, 2008 1 次提交
  8. 22 10月, 2008 2 次提交
  9. 08 10月, 2008 1 次提交
  10. 22 9月, 2008 1 次提交
  11. 15 9月, 2008 1 次提交
  12. 14 9月, 2008 2 次提交
    • A
      usb: Support for removing device by host addr, improved auto filter syntax (Max Krasnyansky) · 5d0c5750
      aliguori 提交于
      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: NMax Krasnyansky <maxk@kernel.org>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5205 c046a42c-6fe2-441c-8c8c-71466251a162
      5d0c5750
    • A
      husb: Make control transactions asynchronous (Max Krasnyansky) · 446ab128
      aliguori 提交于
      USB is 99.8% async now :). 0.2% is the three control requests that
      we need to execute synchronously. We could off-load that to a thread
      or something but it's not worth the pain since those requests are
      performed only during device initialization (ie when device is
      connected to the VM).
      
      The change is a bit bigger than I wanted due to the fact that generic
      handle_packet()/handle_control() interface was not designed for
      async transactions. So I ended up adding custom handle_packet()
      code to usb-linux. We can make that generic if/when some other
      component needs it.
      Signed-off-by: NMax Krasnyansky <maxk@kernel.org>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5204 c046a42c-6fe2-441c-8c8c-71466251a162
      446ab128
  13. 22 8月, 2008 5 次提交
  14. 18 11月, 2007 2 次提交
  15. 31 10月, 2007 1 次提交
  16. 05 10月, 2007 2 次提交
  17. 17 9月, 2007 2 次提交
  18. 11 12月, 2006 1 次提交
  19. 12 8月, 2006 1 次提交
  20. 20 7月, 2006 2 次提交
  21. 27 6月, 2006 1 次提交
  22. 26 5月, 2006 1 次提交
  23. 12 3月, 2006 1 次提交
  24. 14 11月, 2005 1 次提交
  25. 07 11月, 2005 1 次提交
  26. 05 11月, 2005 1 次提交