]> git.proxmox.com Git - qemu.git/commit
virtio-net: fix network stall under load
authorTom Lendacky <tahm@linux.vnet.ibm.com>
Mon, 8 Feb 2010 16:10:01 +0000 (10:10 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 23 Feb 2010 20:07:58 +0000 (14:07 -0600)
commit7ebc79037c5f426bfb08cc506670bf7dd3912430
treeb382405b9c6bcd087131b3f176a026b75bbcb658
parentea299062eb66dba86b390b7e0f414f6a4e41f11f
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>
(cherry picked from commit 06b1297017415ae6a07a0e97ad7d8e90b2d95823)
hw/virtio-net.c