summary refs log tree commit diff stats
path: root/hw/imx_timer.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-08-20 10:21:54 +0100
committerStefan Hajnoczi <stefanha@gmail.com>2012-09-14 08:40:33 +0100
commit863f678fba4191f3b695620f41056cb7c124425d (patch)
tree930c9a15af27bf313ca7749793a5e655afb471a2 /hw/imx_timer.c
parent61518a74ca98870e8ff132f91dd5dda252e31f58 (diff)
downloadfocaccia-qemu-863f678fba4191f3b695620f41056cb7c124425d.tar.gz
focaccia-qemu-863f678fba4191f3b695620f41056cb7c124425d.zip
net: asynchronous send/receive infrastructure for net/socket.c
The net/socket.c net client is not truly asynchronous.  This patch
borrows the qemu_set_fd_handler2() code from net/tap.c as the basis for
proper asynchronous send/receive.

Only read packets from the socket when the peer is able to receive.
This avoids needless queuing.

Later patches implement asynchronous send.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'hw/imx_timer.c')
0 files changed, 0 insertions, 0 deletions