Changeset 92723 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Dec 2, 2021 11:08:59 PM (3 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR3
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/DBGFR3Tracer.cpp
r85954 r92723 922 922 * Allocate the tracer instance. 923 923 */ 924 if ( fR0Enabled /*|| fRCEnabled*/)924 if ((fR0Enabled /*|| fRCEnabled*/) && !SUPR3IsDriverless()) 925 925 { 926 926 AssertLogRel(fR0Enabled /* not possible to just enabled raw-mode atm. */); -
trunk/src/VBox/VMM/VMMR3/GMM.cpp
r92721 r92723 289 289 290 290 /** 291 * @see GMMR0QueryVMMMemoryStatsReq 291 * @note Caller does the driverless check. 292 * @see GMMR0QueryVMMMemoryStatsReq 292 293 */ 293 294 GMMR3DECL(int) GMMR3QueryHypervisorMemoryStats(PVM pVM, uint64_t *pcTotalAllocPages, uint64_t *pcTotalFreePages, uint64_t *pcTotalBalloonPages, uint64_t *puTotalBalloonSize) -
trunk/src/VBox/VMM/VMMR3/NEMR3Native-win.cpp
r92626 r92723 1432 1432 } 1433 1433 1434 PUVM pUVM = pVM->pUVM; 1435 STAMR3RegisterRefresh(pUVM, &pVM->nem.s.R0Stats.cPagesAvailable, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, 1436 STAMUNIT_PAGES, STAM_REFRESH_GRP_NEM, "Free pages available to the hypervisor", 1437 "/NEM/R0Stats/cPagesAvailable"); 1438 STAMR3RegisterRefresh(pUVM, &pVM->nem.s.R0Stats.cPagesInUse, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, 1439 STAMUNIT_PAGES, STAM_REFRESH_GRP_NEM, "Pages in use by hypervisor", 1440 "/NEM/R0Stats/cPagesInUse"); 1434 if (!SUPR3IsDriverless()) 1435 { 1436 PUVM pUVM = pVM->pUVM; 1437 STAMR3RegisterRefresh(pUVM, &pVM->nem.s.R0Stats.cPagesAvailable, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, 1438 STAMUNIT_PAGES, STAM_REFRESH_GRP_NEM, "Free pages available to the hypervisor", 1439 "/NEM/R0Stats/cPagesAvailable"); 1440 STAMR3RegisterRefresh(pUVM, &pVM->nem.s.R0Stats.cPagesInUse, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, 1441 STAMUNIT_PAGES, STAM_REFRESH_GRP_NEM, "Pages in use by hypervisor", 1442 "/NEM/R0Stats/cPagesInUse"); 1443 } 1441 1444 1442 1445 } -
trunk/src/VBox/VMM/VMMR3/PDMDevice.cpp
r92410 r92723 282 282 && !PGMR3IsNemModeEnabled(pVM) /* No ring-0 in simplified memory mode. */ 283 283 #endif 284 )284 && !SUPR3IsDriverless()) 285 285 { 286 286 if (pReg->fFlags & PDM_DEVREG_FLAGS_R0) -
trunk/src/VBox/VMM/VMMR3/STAM.cpp
r92387 r92723 313 313 * Register the ring-0 statistics (GVMM/GMM). 314 314 */ 315 stamR3Ring0StatsRegisterU(pUVM); 315 if (!SUPR3IsDriverless()) 316 stamR3Ring0StatsRegisterU(pUVM); 316 317 317 318 #ifdef VBOX_WITH_DEBUGGER … … 1857 1858 GVMMRESETSTATISTICSSREQ GVMMReq; 1858 1859 GMMRESETSTATISTICSSREQ GMMReq; 1859 bool fGVMMMatched = !pszPat || !*pszPat;1860 bool fGVMMMatched = (!pszPat || !*pszPat) && !SUPR3IsDriverless(); 1860 1861 bool fGMMMatched = fGVMMMatched; 1861 1862 if (fGVMMMatched)
Note:
See TracChangeset
for help on using the changeset viewer.