]> git.proxmox.com Git - mirror_qemu.git/commit - hw/usb/redirect.c
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)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Sep 2012 05:43:00 +0000 (07:43 +0200)
commited9873bfbf145c084d039baab08c63b9d67e7bd3
tree58b3a00065803f7cde2ebc6670a3875c4986d596
parent181133404f520fab40a3ad40d935d91cf3cf546c
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>
hw/usb/redirect.c