usb-redir: Ensure our peer has the necessary caps when redirecting to XHCI
authorHans de Goede <hdegoede@redhat.com>
Mon, 3 Sep 2012 10:04:49 +0000 (12:04 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Sep 2012 05:43:00 +0000 (07:43 +0200)
commita508cc42e22a2ac3878b964290780f1d81ec65c1
tree68d17ac6c0669ccdb039e032805586bd2d95bd73
parent910c1e6b14e4abb188ff7ef584a629187479f82d
usb-redir: Ensure our peer has the necessary caps when redirecting to XHCI

In order for redirection to work properly when redirecting to an emulated
XHCI controller, the usb-redir-host must support both
usb_redir_cap_ep_info_max_packet_size and usb_redir_cap_64bits_ids,
reject any devices redirected to an XHCI controller when these are not
supported.

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