Statistics
| Branch: | Revision:

root / hw / usb @ be4a8928

Name Size
Makefile.objs 506 Bytes
bus.c 15.6 kB
core.c 20.3 kB
desc.c 18.2 kB
desc.h 6.4 kB
dev-audio.c 23 kB
dev-bluetooth.c 16.7 kB
dev-hid.c 20.2 kB
dev-hub.c 17 kB
dev-network.c 43.1 kB
dev-serial.c 17.1 kB
dev-smartcard-reader.c 41.8 kB
dev-storage.c 18.8 kB
dev-uas.c 21.6 kB
dev-wacom.c 10 kB
hcd-ehci.c 79.1 kB
hcd-musb.c 43.9 kB
hcd-ohci.c 54 kB
hcd-uhci.c 37.8 kB
hcd-xhci.c 84.2 kB
host-bsd.c 17.7 kB
host-linux.c 56.4 kB
host-stub.c 1.9 kB
libhw.c 2.1 kB
redirect.c 46.3 kB

Latest revisions

# Date Author Comment
ed9873bf 09/11/2012 08:43 am Hans de Goede

usb-redir: Don't delay handling of open events to a bottom half

There is no need for this, and doing so means that a backend trying to
write immediately after an open event will see qemu_chr_be_can_write
returning 0, which not all backends handle well as there is no wakeup...

cb897117 09/11/2012 08:43 am Hans de Goede

usb-redir: Get rid of async-struct get member

This is a preparation patch for completely getting rid of the async-packet
struct in usb-redir, instead relying on the (new) per ep queues in the
qemu usb core.

Signed-off-by: Hans de Goede <>...

104981d5 09/11/2012 08:43 am Hans de Goede

usb-redir: Get rid of local shadow copy of packet headers

The shadow copy only serves as an extra check (besides the packet-id) to
ensure the packet we get back is a reply to the packet we think it is.

This check has never triggered in all the time usb-redir is in use now,...

206e7f20 09/11/2012 08:43 am Hans de Goede

usb-redir: Get rid of unused async-struct dev member

This is a preparation patch for completely getting rid of the async-packet
struct in usb-redir, instead relying on the (new) per ep queues in the
qemu usb core.

Signed-off-by: Hans de Goede <>...

de550a6a 09/11/2012 08:43 am Hans de Goede

usb-redir: Move to core packet id and queue handling

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

2979a361 09/11/2012 08:43 am Hans de Goede

usb-redir: Return babble when getting more bulk data then requested

Babble is the appropriate error in this case (rather then signalling a stall).

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

be4a8928 09/11/2012 08:43 am Hans de Goede

usb-redir: Convert to new libusbredirparser 0.5 API

This gives us support for 64 bit ids which is needed for using XHCI with
the new hcd generated ids.

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

eff6dce7 09/11/2012 08:42 am Hans de Goede

ehci: Handle USB_RET_PROCERR in ehci_fill_queue

USB_RET_PROCERR can be triggered by the guest (by for example requesting more
then BUFFSIZE bytes), so don't assert on it.

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

cf1f8169 09/11/2012 08:42 am Hans de Goede

ehci: Correct a comment in fetchqtd packet processing

Since my previous comment said "Should never happen", I tried changing the
next line to an assert(0), which did not go well, which as the new comments
explains is logical if you think about it for a moment....

18113340 09/11/2012 08:42 am Hans de Goede

usb-redir: Never return USB_RET_NAK for async handled packets

USB_RET_NAK is not a valid response for async handled packets (and will
trigger an assert as such).

Also drop the warning when receiving a status of cancelled for packets not
cancelled by qemu itself, this can happen when a device gets unredirected...

View revisions

Also available in: Atom