Index: /trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
===================================================================
--- /trunk/src/VBox/VMM/VMMR0/VMMR0.cpp	(revision 31367)
+++ /trunk/src/VBox/VMM/VMMR0/VMMR0.cpp	(revision 31368)
@@ -969,6 +969,7 @@
                 pVCpu->hNativeThreadR0 = RTThreadNativeSelf(); 
 
+# ifdef DEBUG_sandervl
             /* Make sure that log flushes can jump back to ring-3; annoying to get an incomplete log (this is risky though as the code doesn't take this into account). */
-# ifdef DEBUG_sandervl
+            /* Todo: this can have bad side effects for unexpected jumps back to r3. */
             int rc = GMMR0CheckSharedModulesStart(pVM);
             if (rc == VINF_SUCCESS)
