[Qemu-devel] Re: Network shutdown under load

2010-02-10 Thread Anthony Liguori
On 02/08/2010 10:10 AM, Tom Lendacky wrote: 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 Signed-off-by: Anthony Liguori Applied. Tha

[Qemu-devel] Re: Network shutdown under load

2010-02-09 Thread RW
Thanks for the patch! It seems to solve the problem that under load (> 50 MBit/s) the network goes down. I've applied the patch to KVM 0.12.2 running Gentoo. Host and guest is running kernel 2.6.32 currently (kernel 2.6.30 in guest and 2.6.32 in host works also for us). Another host doing the same

[Qemu-devel] Re: Network shutdown under load

2010-02-08 Thread Herbert Xu
On Mon, Feb 08, 2010 at 10:10:01AM -0600, Tom Lendacky wrote: > > 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 > Signed-off-by: Ant

[Qemu-devel] Re: Network shutdown under load

2010-02-08 Thread Anthony Liguori
On 02/08/2010 10:10 AM, Tom Lendacky wrote: 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 Signed-off-by: Anthony Liguori I've walked t

[Qemu-devel] Re: Network shutdown under load

2010-02-08 Thread Tom Lendacky
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 Signed-off-by: Anthony Liguori hw/virtio-net.c | 10 +- 1 files changed, 9 insert

[Qemu-devel] Re: Network shutdown under load

2010-02-02 Thread RW
Hi, we're currently having this problem on two production servers that 2-4 times a day one interface shuts down. We've four KVMs running on two hosts (2x2). All VMs have eth0 and eth1 running virtio_net. All eth0's are connected to bridge br0 and all eth1's are connected to br1 on the host. Here a