summaryrefslogtreecommitdiffstats
path: root/hw/qdev-monitor.c
diff options
context:
space:
mode:
authorJan Kiszka2012-03-30 19:29:08 +0200
committerJan Kiszka2012-03-30 19:43:00 +0200
commit86073017e384b65a4b568da25e5873fd2e5e4db5 (patch)
tree24913e0796bcb0998f1cb0f31860ea8dcb0e8b5a /hw/qdev-monitor.c
parentw32/slirp: Undefine error constants before their redefinition (diff)
downloadqemu-86073017e384b65a4b568da25e5873fd2e5e4db5.tar.gz
qemu-86073017e384b65a4b568da25e5873fd2e5e4db5.tar.xz
qemu-86073017e384b65a4b568da25e5873fd2e5e4db5.zip
slirp: Signal free input buffer space to io-thread
This massively accelerates slirp reception speed: If data arrives faster than the guest can read it from the input buffer, the file descriptor for the corresponding socket was taken out of the fdset for select. However, the event of the guest reading enough data from the buffer was not signaled. Thus, the io-thread only noticed this change on the next time-driven poll. Fix this by kicking the io-thread as required. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Diffstat (limited to 'hw/qdev-monitor.c')
0 files changed, 0 insertions, 0 deletions