]> www.infradead.org Git - users/dwmw2/qemu.git/commit
usb-redir: Never return USB_RET_NAK for async handled packets
authorHans de Goede <hdegoede@redhat.com>
Fri, 17 Aug 2012 15:27:08 +0000 (17:27 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Fri, 12 Oct 2012 02:44:14 +0000 (21:44 -0500)
commit1d5ba9a6a8051964bfdc1b36ee066f1765cf15c8
treece949bf7ce29ffd3d2622f9e2a162f44c06ad496
parent77c3d59256533ea3377d33647a91f2337a9c760d
usb-redir: Never return USB_RET_NAK for async handled packets

USB_RET_NAK is not a valid response for async handled packets (and will
trigger an assert as such).

Also drop the warning when receiving a status of cancelled for packets not
cancelled by qemu itself, this can happen when a device gets unredirected
by the usbredir-host while transfers are pending.

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

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