]> git.ipfire.org Git - thirdparty/qemu.git/commit
usb-redir: Don't delay handling of open events to a bottom half
authorHans de Goede <hdegoede@redhat.com>
Thu, 23 Aug 2012 14:37:19 +0000 (16:37 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Fri, 12 Oct 2012 02:44:14 +0000 (21:44 -0500)
commit14ecfb09faafd07263e03c5f4772083a360dc36b
tree4b7148d71b1e0b841d864697eb7ed680303b9a83
parent1d5ba9a6a8051964bfdc1b36ee066f1765cf15c8
usb-redir: Don't delay handling of open events to a bottom half

There is no need for this, and doing so means that a backend trying to
write immediately after an open event will see qemu_chr_be_can_write
returning 0, which not all backends handle well as there is no wakeup
mechanism to detect when the frontend does become writable.

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

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