usb-host: map LIBUSB_SPEED_SUPER_PLUS to USB_SPEED_SUPER
commit2980a316734c420e7398aec026909dcfc8614c1d
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 21 Jan 2021 15:08:32 +0000 (21 16:08 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 22 Jan 2021 13:51:35 +0000 (22 14:51 +0100)
tree5f1c30bca7461c74fdb80ae941adae550aea8d1b
parent0f6dba145a4be998e0e5e4ccd94d9df8609eb327
usb-host: map LIBUSB_SPEED_SUPER_PLUS to USB_SPEED_SUPER

Handle host superspeedplus (usb 3.1+) devices like superspeed (usb 3.0)
devices.  That is enough to get them handled properly by xhci.  They show
up as superspeed devices inside the guest, but should be able to actually
run at higher speeds.

Reported-by: Angel Pagan <Angel.Pagan@stratus.com>
Tested-by: Angel Pagan <Angel.Pagan@stratus.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20210121150832.3564097-1-kraxel@redhat.com>
hw/usb/host-libusb.c