Hi, This is the usb patch queue. It cleans up the USBPacket error handling to have separate length and status fields which is needed to get some corner cases correct. While being at it it also makes status reporting identical for both sync and async USBPackets.
It also features a fix for the ehci migration bug added by the most recent pull and endian fixes for xhci. please pull, Gerd The following changes since commit 2592c59a66d456fe98fe96cb5787b356c40ee66f: tools: initialize main loop before block layer (2012-11-06 04:37:57 +0400) are available in the git repository at: git://git.kraxel.org/qemu usb.70 David Gibson (1): xhci: Fix some DMA host endian bugs Gerd Hoffmann (1): ehci: fix migration Hans de Goede (6): usb: split packet result into actual_length + status usb-redir: Allow packets to have both data and an error-status ehci: Get rid of the magical PROC_ERR status ehci: Add support for packets with both data and an error status xhci: Add support for packets with both data and an error status usb/combined-packet: Move freeing of combined to usb_combined_packet_remove() hw/usb.h | 24 +++-- hw/usb/bus.c | 13 +-- hw/usb/combined-packet.c | 58 ++++++----- hw/usb/core.c | 209 +++++++++++++++++++++------------------- hw/usb/desc.c | 16 ++- hw/usb/desc.h | 3 +- hw/usb/dev-audio.c | 49 +++------ hw/usb/dev-bluetooth.c | 33 +++---- hw/usb/dev-hid.c | 42 ++++----- hw/usb/dev-hub.c | 34 +++---- hw/usb/dev-network.c | 101 +++++++++---------- hw/usb/dev-serial.c | 29 ++---- hw/usb/dev-smartcard-reader.c | 69 +++++-------- hw/usb/dev-storage.c | 51 ++++------ hw/usb/dev-uas.c | 36 +++---- hw/usb/dev-wacom.c | 38 +++---- hw/usb/hcd-ehci-pci.c | 3 +- hw/usb/hcd-ehci.c | 216 ++++++++++++++++++++--------------------- hw/usb/hcd-ehci.h | 1 - hw/usb/hcd-musb.c | 16 ++-- hw/usb/hcd-ohci.c | 26 +++-- hw/usb/hcd-uhci.c | 34 +++---- hw/usb/hcd-xhci.c | 129 +++++++++++++++---------- hw/usb/host-bsd.c | 27 +++--- hw/usb/host-linux.c | 128 +++++++++++++----------- hw/usb/redirect.c | 187 ++++++++++++++++++----------------- 26 files changed, 775 insertions(+), 797 deletions(-)