1. 06 12月, 2011 1 次提交
  2. 29 11月, 2011 3 次提交
  3. 22 8月, 2011 2 次提交
  4. 21 8月, 2011 1 次提交
  5. 04 8月, 2011 1 次提交
    • G
      usb: use iovecs in USBPacket · 4f4321c1
      Gerd Hoffmann 提交于
      Zap data pointer from USBPacket, add a QEMUIOVector instead.
      Add a bunch of helper functions to manage USBPacket data.
      Switch over users to the new interface.
      
      Note that USBPacket->len was used for two purposes:  First to
      pass in the buffer size and second to return the number of
      transfered bytes or the status code on async transfers.  There
      is a new result variable for the latter.  A new status code
      was added to catch uninitialized result.
      
      Nobody creates iovecs with more than one element (yet).
      Some users are (temporarely) limited to iovecs with a single
      element to keep the patch size as small as possible.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      4f4321c1
  6. 22 7月, 2011 1 次提交
    • H
      USB: add usb network redirection support · 69354a83
      Hans de Goede 提交于
      This patch adds support for a usb-redir device, which takes a chardev
      as a communication channel to an actual usbdevice using the usbredir protocol.
      
      Compiling the usb-redir device requires usbredir-0.3 to be installed for
      the usbredir protocol parser, usbredir-0.3 also contains a server for
      redirecting usb traffic from an actual usb device. You can get the 0.3
      release of usbredir here:
      http://people.fedoraproject.org/~jwrdegoede/usbredir-0.3.tar.bz2
      (getting a more formal site for it is a WIP)
      
      Example usage:
      1) Start usbredirserver for a usb device:
      sudo usbredirserver 045e:0772
      2) Start qemu with usb2 support + a chardev talking to usbredirserver +
         a usb-redir device using this chardev:
      qemu ... \
        -readconfig docs/ich9-ehci-uhci.cfg \
        -chardev socket,id=usbredirchardev,host=localhost,port=4000 \
        -device usb-redir,chardev=usbredirchardev,id=usbredirdev
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      69354a83