usb-ehci: sanity-check iso xfers
commitaa0568ff2559d7717f4684af6a83d0bd1a125f56
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 27 Feb 2012 10:23:08 +0000 (27 11:23 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 27 Feb 2012 12:37:36 +0000 (27 13:37 +0100)
treefd18c44ba6d8dfbf6a569821a600438aac51630d
parent808aeb98ffd9265da55a9ad3fceb86a7ac77107b
usb-ehci: sanity-check iso xfers

This patch adds a sanity check to itd processing to make sure the
endpoint addressed by the guest is actually an iso endpoint.  Also
verify that usb drivers don't return USB_RET_ASYNC which is illegal for
iso xfers.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-ehci.c