usbredir: Verify we have 32 bits bulk length cap when redirecting to xhci
authorHans de Goede <hdegoede@redhat.com>
Fri, 14 Dec 2012 13:35:44 +0000 (14:35 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 7 Jan 2013 11:57:24 +0000 (12:57 +0100)
commitd3aea641a4002e0abe940c65d318ef38eda245df
tree32897476b5cbc0b6e997bb3e4a45e9e6cb6f24f3
parentd8553dd0475a967042193cdcf4d02c8ce5e73730
usbredir: Verify we have 32 bits bulk length cap when redirecting to xhci

The xhci-hcd may submit bulk transfers > 65535 bytes even when not using
bulk-in pipeling, so usbredir can only be used in combination with an xhci
hcd if the client has the 32 bits bulk length capability.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/redirect.c