qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Network Issue with NE2k-PCI (fix?)


From: Fabrice Bellard
Subject: Re: [Qemu-devel] Network Issue with NE2k-PCI (fix?)
Date: Wed, 29 Sep 2004 23:57:33 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624

Applied.

Fabrice.

Steve Wormley wrote:
I was having serious performance issues with Win2000 Guest and the NE2k in
qemu, things like pings of up to 16000ms lost packets, etc. I chased down
the problem and it appears that the following fix resolved the issue on my
system.

Now pings are:

151 packets transmitted, 151 packets received, 0% packet loss
round-trip min/avg/max = 2.207/17.174/195.239 ms


--- qemu/hw/i8259.c     Sun Jun 20 05:58:36 2004
+++ qemu-sw/hw/i8259.c  Wed Sep 22 10:49:17 2004
@@ -188,7 +196,11 @@
     } else {
         s->isr |= (1 << irq);
     }
+       /* We don't clear a level sensitive interrupt here */
+    if (!(s->elcr & (1 << irq))) {
     s->irr &= ~(1 << irq);
+       };
+
 }
int cpu_get_pic_interrupt(CPUState *env)



_______________________________________________
Qemu-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/qemu-devel








reply via email to

[Prev in Thread] Current Thread [Next in Thread]