This patch causes a regression in FreeBSD guests. Kernel dmesg reports:
usbus3: Run timeout
ehci0: USB init failed err=18
and USB 2.0 passthrough does not work. USB 1.0 still works though.
On a (possibly) related note, choosing any machine type above
pc-i440fx-2.0 causes 100% CPU in host.
Make ehci_process_itd return an error in case we didn't do any actual
iso transfer because we've found no active transaction. That'll avoid
ehci happily run in circles forever if the guest builds a loop out of
idts.
Signed-off-by: Gerd Hoffmann
---
hw/usb/hcd-ehci.c | 5 +++--
1 file changed, 3
Make ehci_process_itd return an error in case we didn't do any actual
iso transfer because we've found no active transaction. That'll avoid
ehci happily run in circles forever if the guest builds a loop out of
idts.
Reported-by: Qinghao Tang
Tested-by: P J P
Signed-off-by: Gerd Hoffmann
---
h