virtio-net: fix network stall under load
commit06b1297017415ae6a07a0e97ad7d8e90b2d95823
authorTom Lendacky <tahm@linux.vnet.ibm.com>
Mon, 8 Feb 2010 16:10:01 +0000 (8 10:10 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 10 Feb 2010 18:48:48 +0000 (10 12:48 -0600)
tree7850b2ee2927dc4574ffcf142153566f7b77d070
parent2c0d4b36e7fe28c569c5436f7724735e35d3c493
virtio-net: fix network stall under load

Fix a race condition where qemu finds that there are not enough virtio
ring buffers available and the guest make more buffers available before
qemu can enable notifications.

Signed-off-by: Tom Lendacky <toml@us.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-net.c