]> git.proxmox.com Git - qemu.git/commit
usb: Move short-not-ok handling to the core
authorHans de Goede <hdegoede@redhat.com>
Wed, 24 Oct 2012 16:14:09 +0000 (18:14 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 25 Oct 2012 07:08:10 +0000 (09:08 +0200)
commit6ba43f1f6b60159e731b1f37ffb53ab9ab59efa9
tree50aa334531fbd3b720da7d2dd78eab7453304250
parent0cae7b1a004d6857e3bde3d511d7efa39d3cb48a
usb: Move short-not-ok handling to the core

After a short-not-ok packet ending short, we should not advance the queue.
Move enforcing this to the core, rather then handling it in the hcd code.

This may result in the queue now actually containing multiple input packets
(which would not happen before), and this requires special handling in
combination with pipelining, so disable pipleining for input endpoints
(for now).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb.h
hw/usb/core.c
hw/usb/hcd-ehci.c
hw/usb/hcd-musb.c
hw/usb/hcd-ohci.c
hw/usb/hcd-uhci.c
hw/usb/hcd-xhci.c
hw/usb/host-linux.c
hw/usb/redirect.c