Index: /trunk/src/VBox/VMM/VMMR0/GMMR0.cpp
===================================================================
--- /trunk/src/VBox/VMM/VMMR0/GMMR0.cpp	(revision 29408)
+++ /trunk/src/VBox/VMM/VMMR0/GMMR0.cpp	(revision 29409)
@@ -3498,4 +3498,5 @@
             Assert(ret);
 
+            Log(("GMMR0RegisterSharedModule: new local module %s\n", pszModuleName));
             fNewModule = true;
         }
@@ -3541,4 +3542,6 @@
             pGlobalModule->cUsers++;
             rc = VINF_SUCCESS;
+
+            Log(("GMMR0RegisterSharedModule: new global module %s\n", pszModuleName));
         }
         else
@@ -3555,6 +3558,8 @@
                 if (    fNewModule
                     ||  pRecVM->fCollision == true) /* colliding module unregistered and new one registerd since the last check */
+                {
                     pGlobalModule->cUsers++;
-
+                    Log(("GMMR0RegisterSharedModule: using existing module %s cUser=%d!\n", pszModuleName, pGlobalModule->cUsers));
+                }
                 pRecVM->fCollision    = false;
                 rc = VINF_SUCCESS;
@@ -3562,4 +3567,5 @@
             else
             {
+                Log(("GMMR0RegisterSharedModule: module %s collision!\n", pszModuleName));
                 pRecVM->fCollision = true;
                 rc = VINF_PGM_SHARED_MODULE_COLLISION;
@@ -3625,4 +3631,6 @@
     if (RT_FAILURE(rc))
         return rc;
+
+    Log(("GMMR0UnregisterSharedModule %s %s base=%RGv size %x\n", pszModuleName, pszVersion, GCBaseAddr, cbModule));
 
     /*
