aboutsummaryrefslogtreecommitdiff
path: root/qga/service-win32.h
diff options
context:
space:
mode:
authorJason Andryuk <jandryuk@gmail.com>2020-03-06 09:09:17 -0500
committerGerd Hoffmann <kraxel@redhat.com>2020-03-09 11:06:36 +0100
commit5843b6b35250139d91220ac3b75d467703e345b3 (patch)
tree4126abeda924df6191c5911fbcfe6977f36b304b /qga/service-win32.h
parent67f17e23baca5dd545fe98b01169cc351a70fe35 (diff)
downloadqemu-5843b6b35250139d91220ac3b75d467703e345b3.zip
qemu-5843b6b35250139d91220ac3b75d467703e345b3.tar.gz
qemu-5843b6b35250139d91220ac3b75d467703e345b3.tar.bz2
usb-serial: wakeup device on input
Currently usb-serial devices are unable to send data into guests with the xhci controller. Data is copied into the usb-serial's buffer, but it is not sent into the guest. Data coming out of the guest works properly. usb-serial devices work properly with ehci. Have usb-serial call usb_wakeup() when receiving data from the chardev. This seems to notify the xhci controller and fix inbound data flow. Also add USB_CFG_ATT_WAKEUP to the device's bmAttributes. This matches a real FTDI serial adapter's bmAttributes. Signed-off-by: Jason Andryuk <jandryuk@gmail.com> Message-id: 20200306140917.26726-1-jandryuk@gmail.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qga/service-win32.h')
0 files changed, 0 insertions, 0 deletions