[Pkg-virtualbox-commits] r359 - in trunk/debian: . patches

meskes at alioth.debian.org meskes at alioth.debian.org
Fri Oct 3 15:20:38 UTC 2008


Author: meskes
Date: 2008-10-03 15:20:38 +0000 (Fri, 03 Oct 2008)
New Revision: 359

Added:
   trunk/debian/patches/15-rate-limit-PATM-messages.dpatch
Modified:
   trunk/debian/changelog
   trunk/debian/patches/00list
Log:
Stop spamming logfiles.



Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-10-03 15:16:31 UTC (rev 358)
+++ trunk/debian/changelog	2008-10-03 15:20:38 UTC (rev 359)
@@ -2,8 +2,10 @@
 
   * Added NOTPARALLEL option in guest sources Makefile, that somehow got lost,
     closes: #494475
+  * Stop spamming log files by using patch provided by Stefan Lippers-Hollmann
+    <s.L-H at gmx.de>, closes: #500484
 
- -- Michael Meskes <meskes at debian.org>  Fri, 03 Oct 2008 17:12:56 +0200
+ -- Michael Meskes <meskes at debian.org>  Fri, 03 Oct 2008 17:17:10 +0200
 
 virtualbox-ose (1.6.6-dfsg-1) unstable; urgency=low
 

Modified: trunk/debian/patches/00list
===================================================================
--- trunk/debian/patches/00list	2008-10-03 15:16:31 UTC (rev 358)
+++ trunk/debian/patches/00list	2008-10-03 15:20:38 UTC (rev 359)
@@ -11,3 +11,4 @@
 12-make-module.dpatch
 13-module-mismatch.dpatch
 14-recompiler-flush-tb-cache.dpatch
+15-rate-limit-PATM-messages.dpatch

Added: trunk/debian/patches/15-rate-limit-PATM-messages.dpatch
===================================================================
--- trunk/debian/patches/15-rate-limit-PATM-messages.dpatch	                        (rev 0)
+++ trunk/debian/patches/15-rate-limit-PATM-messages.dpatch	2008-10-03 15:20:38 UTC (rev 359)
@@ -0,0 +1,38 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 15-rate-limit-PATM-messages.dpatch by Stefan Lippers-Hollmann <s.l-h at gmx.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: http://www.virtualbox.de/ticket/1775
+## DP: rediff the following upstream commits against virtualbox-ose 1.6.6-dfsg-1:
+## DP: - r12524
+## DP: - r12525
+## DP: - r12527
+## DP: - r12532
+## DP: - r12534
+
+ at DPATCH@
+diff -urNad virtualbox-ose-1.6.6-dfsg~/src/VBox/VMM/PATM/PATM.cpp virtualbox-ose-1.6.6-dfsg/src/VBox/VMM/PATM/PATM.cpp
+--- virtualbox-ose-1.6.6-dfsg~/src/VBox/VMM/PATM/PATM.cpp	2008-06-25 17:47:15.000000000 +0200
++++ virtualbox-ose-1.6.6-dfsg/src/VBox/VMM/PATM/PATM.cpp	2008-09-28 18:19:19.000000000 +0200
+@@ -97,6 +97,9 @@
+ };
+ #endif
+ 
++/* Don't want to break saved states, so put it here as a global variable. */
++static unsigned int cIDTHandlersDisabled = 0;
++
+ /**
+  * Initializes the PATM.
+  *
+@@ -4962,7 +4965,8 @@
+             if (iGate != (uint32_t)~0)
+             {
+                 TRPMR3SetGuestTrapHandler(pVM, iGate, TRPM_INVALID_HANDLER);
+-                LogRel(("PATM: Disabling IDT %x patch handler %VGv
+", iGate, pInstrGC));
++                if (++cIDTHandlersDisabled < 256)
++                    LogRel(("PATM: Disabling IDT %x patch handler %VGv
+", iGate, pInstrGC));
+             }
+         }
+ 




More information about the Pkg-virtualbox-commits mailing list