]> git.proxmox.com Git - qemu.git/commit
ehci: Handle USB_RET_PROCERR in ehci_fill_queue
authorHans de Goede <hdegoede@redhat.com>
Mon, 3 Sep 2012 09:35:58 +0000 (11:35 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Fri, 12 Oct 2012 02:44:14 +0000 (21:44 -0500)
commite2ab86fe2d89db5a5dcf128f627e3b5c27fef5f5
tree176b28f5899cc548ac16c5b8751256dfc1c0afb6
parent2f7ba4731bcc2d92760f291ea8b264bdc69dcc55
ehci: Handle USB_RET_PROCERR in ehci_fill_queue

USB_RET_PROCERR can be triggered by the guest (by for example requesting more
then BUFFSIZE bytes), so don't assert on it.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit eff6dce79bd7ad3c16d75c5e55b5a2a137ba6a60)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/usb/hcd-ehci.c