Index: /trunk/src/VBox/Devices/VirtIO/VirtioCore.cpp
===================================================================
--- /trunk/src/VBox/Devices/VirtIO/VirtioCore.cpp	(revision 91703)
+++ /trunk/src/VBox/Devices/VirtIO/VirtioCore.cpp	(revision 91704)
@@ -675,5 +675,7 @@
         pVirtqBuf->u32Magic = ~VIRTQBUF_MAGIC;
         RTMemFree(pVirtqBuf);
+#ifdef VBOX_WITH_STATISTICS
         STAM_REL_COUNTER_INC(&pVirtio->StatDescChainsFreed);
+#endif
     }
     return cRefs;
@@ -851,5 +853,7 @@
         pVirtqBuf->pSgPhysReturn = &pVirtqBuf->SgBufIn;
         pVirtqBuf->cbPhysReturn  = cbIn;
+#ifdef VBOX_WITH_STATISTICS
         STAM_REL_COUNTER_ADD(&pVirtio->StatDescChainsSegsIn, cSegsIn);
+#endif
     }
 
@@ -859,8 +863,12 @@
         pVirtqBuf->pSgPhysSend   = &pVirtqBuf->SgBufOut;
         pVirtqBuf->cbPhysSend    = cbOut;
+#ifdef VBOX_WITH_STATISTICS
         STAM_REL_COUNTER_ADD(&pVirtio->StatDescChainsSegsOut, cSegsOut);
-    }
-
+#endif
+    }
+
+#ifdef VBOX_WITH_STATISTICS
     STAM_REL_COUNTER_INC(&pVirtio->StatDescChainsAllocated);
+#endif
     Log6Func(("%s -- segs OUT: %u (%u bytes)   IN: %u (%u bytes) --\n",
         pVirtq->szName, cSegsOut, cbOut, cSegsIn, cbIn));
