History | View | Annotate | Download (54.8 kB)
usb-host: handle guest-issued clear halt
Most important here is to update our internal endpoint state so we knowthe endpoint isn't in halted state any more. Without this usb-hosttries to clear halt again with the next data transfer submitted. Doingthis twice is (a) not correct and (b) confuses some usb devices,...
usb-host: don't dereference invalid iovecs
usb-host assumes the first iovec element is always valid.In case of a zero-length packet this isn't true though.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
usb-host: fix zero-length packets
usb-host optimizes away zero-length packets by not entering theprocessing loop at all. Which isn't correct, we should submit azero-length urb to the host devicein that case. This patch makessure we run the processing loop at least once....
usb-host: rewrite usb_linux_update_endp_table
This patch carries a complete rewrite of the usb descriptor parser.Changes / improvements:
Add bootindex support to usb-host and usb-redir
When passing through a usb pendrive seabios will present it in the F12boot menu and will happily boot from it.
This patch adds bootorder support so you can even make it the defaultboot device.
usb-host: trace emulated requests
Add tracepoint to track completion of emulated control requests.
usb-host: trace canceled requests
Add tracepoints to track canceled requests.
usb-host: add usb packet to request tracepoints
Add pointer to USBPacket to all tracepoints tracking requests to make iteasier to identify them when multiple requests are in flight.
usb-host: add property to turn off pipelining
Add a property to usb-host to disable the bulk endpoint pipelining.
usb: the big rename
Reorganize usb source files. Create a new hw/usb/ directory and moveall usb source code to that place. Also make filenames a bit moredescriptive. Host adapters are prefixed with "hch-" now, usb deviceemulations are prefixed with "dev-". Fixup paths Makefile and include...