From: Steve Wormley <steve@wormley.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Network Issue with NE2k-PCI (fix?)
Date: Wed, 22 Sep 2004 17:19:51 -0700 [thread overview]
Message-ID: <20040923001951.GA21261@wormley.com> (raw)
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)
next reply other threads:[~2004-09-23 0:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-23 0:19 Steve Wormley [this message]
2004-09-29 21:57 ` [Qemu-devel] Network Issue with NE2k-PCI (fix?) Fabrice Bellard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040923001951.GA21261@wormley.com \
--to=steve@wormley.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.