aboutsummaryrefslogtreecommitdiff
path: root/hw/net
diff options
context:
space:
mode:
authorSameeh Jubran <sameeh@daynix.com>2016-03-17 09:37:58 +0200
committerJason Wang <jasowang@redhat.com>2016-03-30 08:57:42 +0800
commit8e0f7dd25152385711b0224e2d3c65ede0239cd9 (patch)
treee136d333731c3427e8a47eba4f4c470f3db39687 /hw/net
parent74004e8ce4306f51f593a99d175a1e1f0453deba (diff)
Revert "e1000: fix hang of win2k12 shutdown with flood ping"
This reverts commit 9596ef7c7b8528bedb240792ea1fb598543ad3c4. This workaround in order to fix endless interrupts is no longer needed because it was superseded by the previous patch (e1000: Fixing interrupt pace). Signed-off-by: Sameeh Jubran <sameeh@daynix.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net')
-rw-r--r--hw/net/e1000.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/net/e1000.c b/hw/net/e1000.c
index 09b9ab5377..8e79b550e6 100644
--- a/hw/net/e1000.c
+++ b/hw/net/e1000.c
@@ -456,11 +456,6 @@ static void e1000_reset(void *opaque)
e1000_link_down(d);
}
- /* Throttle interrupts to prevent guest (e.g Win 2012) from
- * reinjecting interrupts endlessly. TODO: fix non ITR case.
- */
- d->mac_reg[ITR] = 250;
-
/* Some guests expect pre-initialized RAH/RAL (AddrValid flag + MACaddr) */
d->mac_reg[RA] = 0;
d->mac_reg[RA + 1] = E1000_RAH_AV;