Hi, More patches from the usb patch queue, for review, this time more entertaining than boring bug fixes. It goes in top of the bugfix pull request sent out earier today. git tree available for your convinience, see below.
So, what is in there? * usb-audio emulation support. * xhci emulation support (don't be too excited yet, needs more work, see commit message for details). * A bunch of usb subsystem improvements. The qemu usb subsystem gains knowledge about endpoints. Future plan is to support per-endpoint request queues, so we can pipeline stuff, which should give us a performance boot especially for usb pass-through. please review, Gerd The following changes since commit fd891c9318b112462e54ee1b3b16b074b8bec5b1: usb-ohci: td.cbp incorrectly updated near page end (2012-01-06 12:36:14 +0100) are available in the git repository at: git://git.kraxel.org/qemu usb.34 Gerd Hoffmann (10): usb-host: rip out legacy procfs support usb: track configuration and interface count in USBDevice. usb: track altsetting in USBDevice usb-desc: audio endpoint support usb: add USBEndpoint usb: add ifnum to USBEndpoint usb-desc: USBEndpoint support usb/debug: add usb_ep_dump usb: add max_packet_size to USBEndpoint usb: link packets to endpoints not devices H. Peter Anvin (1): usb: add audio device model. Hector Martin (1): xhci: Initial xHCI implementation Makefile.objs | 3 +- default-configs/pci.mak | 1 + hw/pci_ids.h | 3 + hw/usb-audio.c | 698 +++++++++++++ hw/usb-bt.c | 22 - hw/usb-bus.c | 1 + hw/usb-ccid.c | 8 - hw/usb-desc.c | 143 +++- hw/usb-desc.h | 5 + hw/usb-ehci.c | 3 +- hw/usb-hid.c | 7 - hw/usb-hub.c | 7 - hw/usb-msd.c | 10 - hw/usb-musb.c | 3 +- hw/usb-net.c | 14 - hw/usb-ohci.c | 4 +- hw/usb-serial.c | 7 - hw/usb-uhci.c | 3 +- hw/usb-wacom.c | 7 - hw/usb-xhci.c | 2662 +++++++++++++++++++++++++++++++++++++++++++++++ hw/usb.c | 125 +++- hw/usb.h | 44 +- trace-events | 1 + usb-linux.c | 452 ++------- 24 files changed, 3777 insertions(+), 456 deletions(-) create mode 100644 hw/usb-audio.c create mode 100644 hw/usb-xhci.c