d8f481188025e56c229e3fd41afa1d17f9e0cff0
The USB network interface has a single buffer which the guest reads
from. This patch prevents multiple calls to usbnet_receive() from
clobbering the input buffer. Instead we queue packets until buffer
space becomes available again.
This is inspired by virtio-net and e1000 rxbuf handling.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
(cherry picked from commit 190563f9a9
)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
…
…
…
Read the documentation in qemu-doc.html or on http://wiki.qemu.org - QEMU team
Description
Languages
C
82.6%
C++
6.5%
Python
3.3%
Dylan
2.9%
Shell
1.6%
Other
2.9%