Index: /trunk/src/VBox/VMM/VMMR0/GMMR0.cpp
===================================================================
--- /trunk/src/VBox/VMM/VMMR0/GMMR0.cpp	(revision 29416)
+++ /trunk/src/VBox/VMM/VMMR0/GMMR0.cpp	(revision 29417)
@@ -3862,4 +3862,6 @@
                     {
                         Log(("Unexpected differences found between local and shared page; skip\n"));
+                        /* Signal to the caller that this one hasn't changed. */
+                        paPageDesc[i].uHCPhysPageId = NIL_GMM_PAGEID;
                         continue;
                     }
Index: /trunk/src/VBox/VMM/VMMR0/PGMR0.cpp
===================================================================
--- /trunk/src/VBox/VMM/VMMR0/PGMR0.cpp	(revision 29416)
+++ /trunk/src/VBox/VMM/VMMR0/PGMR0.cpp	(revision 29417)
@@ -431,4 +431,5 @@
                     /* else nothing changed (== this page is now a shared page), so no need to flush anything. */
 
+                    pVM->pgm.s.cSharedPages++;
                     PGM_PAGE_SET_STATE(pPage, PGM_PAGE_STATE_SHARED);
                 }
