Changeset 56252 in vbox
- Timestamp:
- Jun 5, 2015 10:54:51 AM (10 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PGM.cpp
r56078 r56252 1352 1352 1353 1353 /* 1354 * Check for PCI pass-through .1354 * Check for PCI pass-through and other configurables. 1355 1355 */ 1356 1356 rc = CFGMR3QueryBoolDef(pCfgPGM, "PciPassThrough", &pVM->pgm.s.fPciPassthrough, false); 1357 1357 AssertMsgRCReturn(rc, ("Configuration error: Failed to query integer \"PciPassThrough\", rc=%Rrc.\n", rc), rc); 1358 1358 AssertLogRelReturn(!pVM->pgm.s.fPciPassthrough || pVM->pgm.s.fRamPreAlloc, VERR_INVALID_PARAMETER); 1359 1360 rc = CFGMR3QueryBoolDef(CFGMR3GetRoot(pVM), "PageFusionAllowed", &pVM->pgm.s.fPageFusionAllowed, false); 1361 AssertLogRelRCReturn(rc, rc); 1359 1362 1360 1363 #ifdef VBOX_WITH_STATISTICS -
trunk/src/VBox/VMM/include/PGMInternal.h
r56053 r56252 3229 3229 * (Only used in strict builds.) */ 3230 3230 bool fNoMorePhysWrites; 3231 /** Set if PCI passthrough is enabled. */ 3231 /** @cfgm{/PageFusionAllowed, boolean, false} 3232 * Whether page fusion is allowed. */ 3233 bool fPageFusionAllowed; 3234 /** @cfgm{/PGM/PciPassThrough, boolean, false} 3235 * Whether PCI passthrough is enabled. */ 3232 3236 bool fPciPassthrough; 3233 3237 /** The number of MMIO2 regions (serves as the next MMIO2 ID). */ 3234 3238 uint8_t cMmio2Regions; 3235 3239 /** Alignment padding that makes the next member start on a 8 byte boundary. */ 3236 bool afAlignment1[ 2];3240 bool afAlignment1[1]; 3237 3241 3238 3242 /** Indicates that PGMR3FinalizeMappings has been called and that further
Note:
See TracChangeset
for help on using the changeset viewer.