Received: from eggs.gnu.org ([2001:4830:134:3::10]:53325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agSVV-0006Bk-Rw for qemu-devel@nongnu.org; Thu, 17 Mar 2016 03:38:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agSVU-0001Ye-MX for qemu-devel@nongnu.org; Thu, 17 Mar 2016 03:38:09 -0400 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:33701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agSVU-0001Ya-Fu for qemu-devel@nongnu.org; Thu, 17 Mar 2016 03:38:08 -0400 Received: by mail-wm0-x241.google.com with SMTP id x188so5154918wmg.0 for ; Thu, 17 Mar 2016 00:38:08 -0700 (PDT) From: Sameeh Jubran Date: Thu, 17 Mar 2016 09:37:58 +0200 Message-Id: <1458200278-11940-3-git-send-email-sameeh@daynix.com> In-Reply-To: <1458200278-11940-1-git-send-email-sameeh@daynix.com> References: <1458200278-11940-1-git-send-email-sameeh@daynix.com> Subject: [Qemu-devel] [PATCH 2/2] Revert "e1000: fix hang of win2k12 shutdown with flood ping" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Jason Wang Cc: Dmitry Fleytman , Yan Vugenfirer 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 --- hw/net/e1000.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hw/net/e1000.c b/hw/net/e1000.c index 09b9ab5..8e79b55 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; -- 2.5.0