Luigi Rizzo 199ee608f0 net: fix qemu_flush_queued_packets() in presence of a hub
When frontend and backend are connected through a hub as below
(showing only one direction), and the frontend (or in general, all
output ports of the hub) cannot accept more traffic, the backend
queues packets in queue-A.

When the frontend (or in general, one output port) becomes ready again,
quemu tries to flush packets from queue-B, which is unfortunately empty.

  e1000.0 <--[queue B]-- hub0port0(hub)hub0port1 <--[queue A]-- tap.0

To fix this i propose to introduce a new function net_hub_flush()
which is called when trying to flush a queue connected to a hub.

Signed-off-by: Luigi Rizzo <rizzo@iet.unipi.it>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-02-27 16:10:23 +01:00
2013-01-10 15:11:53 -06:00
2012-12-19 08:29:06 +01:00
2013-01-18 19:06:57 +01:00
2013-02-14 08:58:30 -06:00
2012-10-24 10:26:22 +02:00
2013-02-14 08:58:30 -06:00
2013-02-19 11:53:49 +01:00
2013-02-21 16:17:31 -06:00
2013-02-25 14:32:36 -06:00
2013-02-25 14:32:36 -06:00
2013-02-26 13:29:55 -06:00
2012-09-07 09:02:44 +03:00
2013-02-21 10:38:07 +01:00
2012-11-01 13:10:06 +01:00
2013-02-21 16:17:31 -06:00
2013-02-21 16:17:31 -06:00
2013-02-22 21:29:42 +01:00
2012-05-14 07:27:24 +02:00
2008-10-12 17:54:42 +00:00
2013-02-16 10:45:19 +00:00
2013-02-16 14:50:59 +01:00
2013-02-16 14:50:59 +01:00
2013-02-21 16:17:31 -06:00
2011-12-09 11:25:22 +00:00
2013-01-30 10:42:29 +01:00
2013-02-21 16:34:48 -06:00
2013-02-18 08:39:10 -06:00
2013-02-18 08:39:10 -06:00
2013-02-16 11:12:13 +00:00
2012-12-20 23:09:25 +01:00
2013-02-22 21:21:10 +01:00
2013-02-22 21:21:10 +01:00
2013-02-22 21:29:42 +01:00
2013-02-22 21:29:43 +01:00
2013-02-22 21:29:43 +01:00
2013-02-18 08:39:10 -06:00
2011-12-11 17:50:43 -06:00
2013-02-19 13:17:48 +01:00
2013-02-15 17:40:56 -06:00
2013-02-26 13:26:16 -06:00
2013-01-15 04:09:14 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
A fork of QEMU-Nyx which is better suited for my bachelors thesis
Readme 154 MiB