summary refs log tree commit diff stats
path: root/hw/virtio-net.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-09-17 10:20:48 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2012-09-17 10:20:48 -0500
commitde71bd6f77739cc5addb6d70bf29be59aed41722 (patch)
tree83a53c6fa78028ffbcf4cb9413754d025ad8796b /hw/virtio-net.c
parent31e165f1770cd10ee4fabf7ef4c1a48566be3336 (diff)
parent45a7f54a8bb3928ffa58d522e0d61acaee8277bb (diff)
downloadfocaccia-qemu-de71bd6f77739cc5addb6d70bf29be59aed41722.tar.gz
focaccia-qemu-de71bd6f77739cc5addb6d70bf29be59aed41722.zip
Merge remote-tracking branch 'stefanha/net' into staging
* stefanha/net:
  net: EAGAIN handling for net/socket.c TCP
  net: EAGAIN handling for net/socket.c UDP
  net: asynchronous send/receive infrastructure for net/socket.c
  net: broadcast hub packets if at least one port can receive
  net: fix usbnet_receive() packet drops
  net: clean up usbnet_receive()
  net: add -netdev options to man page
  net: do not report queued packets as sent
  net: add receive_disabled logic to iov delivery path
  eepro100: Fix network hang when rx buffers run out
  xen: flush queue when getting an event
  e1000: flush queue whenever can_receive can go from false to true
  net: notify iothread after flushing queue
Diffstat (limited to 'hw/virtio-net.c')
-rw-r--r--hw/virtio-net.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/virtio-net.c b/hw/virtio-net.c
index b1998b27d3..6490743290 100644
--- a/hw/virtio-net.c
+++ b/hw/virtio-net.c
@@ -447,10 +447,6 @@ static void virtio_net_handle_rx(VirtIODevice *vdev, VirtQueue *vq)
     VirtIONet *n = to_virtio_net(vdev);
 
     qemu_flush_queued_packets(&n->nic->nc);
-
-    /* We now have RX buffers, signal to the IO thread to break out of the
-     * select to re-poll the tap file descriptor */
-    qemu_notify_event();
 }
 
 static int virtio_net_can_receive(NetClientState *nc)