xhci: add property to turn on/off streams support
commit2aa6bfcb663c43775600a95719ef0c6b849188d0
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 21 Oct 2014 10:29:33 +0000 (21 12:29 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 28 Oct 2014 10:38:18 +0000 (28 11:38 +0100)
treec13086040ce45918d132493a8dbb44c59afdb07f
parent81b49e8f892a977f3821f3416ea51aa641d63ac4
xhci: add property to turn on/off streams support

streams support in usb-redir and usb-host works only with recent enough
versions of the support libraries (libusbredir and libusbx).  Failure
mode is rather unelegant:  Any stream usb transfers will throw stall
errors.  Turning off support for streams in the xhci host controller
will work better as the guest can figure beforehand that streams are
not going to work.

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