Index: /trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
===================================================================
--- /trunk/src/VBox/VMM/VMMR0/VMMR0.cpp	(revision 65897)
+++ /trunk/src/VBox/VMM/VMMR0/VMMR0.cpp	(revision 65898)
@@ -625,7 +625,12 @@
     Assert(pVCpu->vmm.s.hCtxHook == NIL_RTTHREADCTXHOOK);
 
+#if 1 /* To disable this stuff change to zero. */
     int rc = RTThreadCtxHookCreate(&pVCpu->vmm.s.hCtxHook, 0, vmmR0ThreadCtxCallback, pVCpu);
     if (RT_SUCCESS(rc))
         return rc;
+#else
+    RT_NOREF(vmmR0ThreadCtxCallback);
+    int rc = VERR_NOT_SUPPORTED;
+#endif
 
     pVCpu->vmm.s.hCtxHook = NIL_RTTHREADCTXHOOK;
