Index: /trunk/src/VBox/VMM/VMMR3/PATM.cpp
===================================================================
--- /trunk/src/VBox/VMM/VMMR3/PATM.cpp	(revision 42780)
+++ /trunk/src/VBox/VMM/VMMR3/PATM.cpp	(revision 42781)
@@ -4049,4 +4049,5 @@
     int rc;
     PVMCPU pVCpu = VMMGetCpu0(pVM);
+    LogFlow(("PATMR3InstallPatch: %08x (%#llx)\n", pInstrGC, flags));
 
     if (    !pVM
@@ -4080,4 +4081,28 @@
     if (pVM->patm.s.fOutOfMemory == true)
         return VERR_PATCHING_REFUSED;
+
+#if 0 /* DONT COMMIT ENABLED! */
+    /* Blacklisted NT4SP1 areas - debugging why we sometimes crash early on, */
+    if (  0
+        //|| (pInstrGC - 0x80010000U) < 0x10000U // NT4SP1 HAL
+        //|| (pInstrGC - 0x80010000U) < 0x5000U // NT4SP1 HAL
+        //|| (pInstrGC - 0x80013000U) < 0x2000U // NT4SP1 HAL
+        //|| (pInstrGC - 0x80014000U) < 0x1000U // NT4SP1 HAL
+        //|| (pInstrGC - 0x80014000U) < 0x800U // NT4SP1 HAL
+        //|| (pInstrGC - 0x80014400U) < 0x400U // NT4SP1 HAL
+        //|| (pInstrGC - 0x80014400U) < 0x200U // NT4SP1 HAL
+        //|| (pInstrGC - 0x80014400U) < 0x100U // NT4SP1 HAL
+        //|| (pInstrGC - 0x80014500U) < 0x100U // NT4SP1 HAL - negative
+        //|| (pInstrGC - 0x80014400U) < 0x80U // NT4SP1 HAL
+        //|| (pInstrGC - 0x80014400U) < 0x80U // NT4SP1 HAL
+        //|| (pInstrGC - 0x80014440U) < 0x40U // NT4SP1 HAL
+        //|| (pInstrGC - 0x80014440U) < 0x20U // NT4SP1 HAL
+        || pInstrGC == 0x80014447       /* KfLowerIrql */
+        || 0)
+    {
+        Log(("PATMR3InstallPatch: %08x is blacklisted\n", pInstrGC));
+        return VERR_PATCHING_REFUSED;
+    }
+#endif
 
     /* Make sure the code selector is wide open; otherwise refuse. */
