]> git.proxmox.com Git - qemu.git/commit
usb-redir: Allow to attach USB 2.0 devices to 1.1 host controller
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 31 Oct 2012 12:47:15 +0000 (13:47 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 1 Nov 2012 14:21:01 +0000 (15:21 +0100)
commitcdfd3530fafbef441ab6b86da64151f74073e5bd
tree6a03a60e917db6c5e23103cd57cd250af561488e
parent24ac283aa293f9bd8ca4137775506edf33e45eae
usb-redir: Allow to attach USB 2.0 devices to 1.1 host controller

This follows the logic of host-linux: If a 2.0 device has no ISO
endpoint and no interrupt endpoint with a packet size > 64, we can
attach it also to an 1.1 host controller. In case the redir server does
not report endpoint sizes, play safe and remove the 1.1 compatibility as
well. Moreover, if we detect a conflicting change in the configuration
after the device was already attached, it will be disconnected
immediately.

HdG: Several small cleanups and fixes

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