Changeset 52764 in vbox
- Timestamp:
- Sep 16, 2014 3:57:03 PM (10 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CPUM.cpp
r52698 r52764 1068 1068 * Read the configuration. 1069 1069 */ 1070 /** @cfgm{ CPUM/SyntheticCpu, boolean, false}1070 /** @cfgm{/CPUM/SyntheticCpu, boolean, false} 1071 1071 * Enables the Synthetic CPU. The Vendor ID and Processor Name are 1072 1072 * completely overridden by VirtualBox custom strings. Some … … 1078 1078 AssertRCReturn(rc, rc); 1079 1079 1080 /** @cfgm{ CPUM/PortableCpuIdLevel, 8-bit, 0, 3, 0}1080 /** @cfgm{/CPUM/PortableCpuIdLevel, 8-bit, 0, 3, 0} 1081 1081 * When non-zero CPUID features that could cause portability issues will be 1082 1082 * stripped. The higher the value the more features gets stripped. Higher … … 1086 1086 AssertLogRelRCReturn(rc, rc); 1087 1087 1088 /** @cfgm{ CPUM/GuestCpuName, string}1088 /** @cfgm{/CPUM/GuestCpuName, string} 1089 1089 * The name of the CPU we're to emulate. The default is the host CPU. 1090 1090 * Note! CPUs other than "host" one is currently unsupported. */ … … 1158 1158 : rc; 1159 1159 1160 /** @cfgm{ CPUM/MSRs/[Name]/[First|Last|Type|Value|...],}1160 /** @cfgm{/CPUM/MSRs/[Name]/[First|Last|Type|Value|...],} 1161 1161 * Overrides the guest MSRs. 1162 1162 */ 1163 1163 rc = cpumR3LoadMsrOverrides(pVM, CFGMR3GetChild(pCpumCfg, "MSRs")); 1164 1164 1165 /** @cfgm{ CPUM/HostCPUID/[000000xx|800000xx|c000000x]/[eax|ebx|ecx|edx],32-bit}1165 /** @cfgm{/CPUM/HostCPUID/[000000xx|800000xx|c000000x]/[eax|ebx|ecx|edx],32-bit} 1166 1166 * Overrides the CPUID leaf values (from the host CPU usually) used for 1167 1167 * calculating the guest CPUID leaves. This can be used to preserve the CPUID … … 1712 1712 * MSR fudging. 1713 1713 */ 1714 /** @cfgm{ CPUM/FudgeMSRs, boolean, true}1714 /** @cfgm{/CPUM/FudgeMSRs, boolean, true} 1715 1715 * Fudges some common MSRs if not present in the selected CPU database entry. 1716 1716 * This is for trying to keep VMs running when moved between different hosts -
trunk/src/VBox/VMM/VMMR3/GIM.cpp
r52761 r52764 101 101 PCFGMNODE pCfgNode = CFGMR3GetChild(CFGMR3GetRoot(pVM), "GIM/"); 102 102 103 /** @cfgm{ GIM/Provider, string}103 /** @cfgm{/GIM/Provider, string} 104 104 * The name of the GIM provider. The default is "none". */ 105 105 char szProvider[64]; … … 107 107 AssertLogRelRCReturn(rc, rc); 108 108 109 /** @cfgm{ GIM/Version, uint32_t}109 /** @cfgm{/GIM/Version, uint32_t} 110 110 * The interface version. The default is 0, which means "provide the most 111 111 * up-to-date implementation". */ -
trunk/src/VBox/VMM/VMMR3/MM.cpp
r44528 r52764 309 309 } 310 310 311 /** @cfgm{ RamSize, uint64_t, 0, 16TB, 0}311 /** @cfgm{/RamSize, uint64_t, 0, 16TB, 0} 312 312 * Specifies the size of the base RAM that is to be set up during 313 313 * VM initialization. … … 324 324 pVM->mm.s.cbRamBase = cbRam; 325 325 326 /** @cfgm{ RamHoleSize, uint32_t, 0, 4032MB, 512MB}326 /** @cfgm{/RamHoleSize, uint32_t, 0, 4032MB, 512MB} 327 327 * Specifies the size of the memory hole. The memory hole is used 328 328 * to avoid mapping RAM to the range normally used for PCI memory regions. … … 343 343 Log(("MM: %RU64 bytes of RAM with a hole at %RU64 up to 4GB.\n", cbRam, offRamHole)); 344 344 345 /** @cfgm{ MM/Policy, string, no overcommitment}345 /** @cfgm{/MM/Policy, string, no overcommitment} 346 346 * Specifies the policy to use when reserving memory for this VM. The recognized 347 347 * value is 'no overcommitment' (default). See GMMPOLICY. … … 363 363 AssertMsgFailedReturn(("Configuration error: Failed to query string \"MM/Policy\", rc=%Rrc.\n", rc), rc); 364 364 365 /** @cfgm{ MM/Priority, string, normal}365 /** @cfgm{/MM/Priority, string, normal} 366 366 * Specifies the memory priority of this VM. The priority comes into play when the 367 367 * system is overcommitted and the VMs needs to be milked for memory. The recognized -
trunk/src/VBox/VMM/VMMR3/TM.cpp
r51959 r52764 356 356 } 357 357 358 /** @cfgm{ TM/TSCTicksPerSecond, uint32_t, Current TSC frequency from GIP}358 /** @cfgm{/TM/TSCTicksPerSecond, uint32_t, Current TSC frequency from GIP} 359 359 * The number of TSC ticks per second (i.e. the TSC frequency). This will 360 360 * override TSCUseRealTSC, TSCVirtualized and MaybeUseOffsettedHostTSC. … … 385 385 } 386 386 387 /** @cfgm{ TM/TSCTiedToExecution, bool, false}387 /** @cfgm{/TM/TSCTiedToExecution, bool, false} 388 388 * Whether the TSC should be tied to execution. This will exclude most of the 389 389 * virtualization overhead, but will by default include the time spent in the … … 404 404 } 405 405 406 /** @cfgm{ TM/TSCNotTiedToHalt, bool, true}406 /** @cfgm{/TM/TSCNotTiedToHalt, bool, true} 407 407 * For overriding the default of TM/TSCTiedToExecution, i.e. set this to false 408 408 * to make the TSC freeze during HLT. */ … … 425 425 * Configure the timer synchronous virtual time. 426 426 */ 427 /** @cfgm{ TM/ScheduleSlack, uint32_t, ns, 0, UINT32_MAX, 100000}427 /** @cfgm{/TM/ScheduleSlack, uint32_t, ns, 0, UINT32_MAX, 100000} 428 428 * Scheduling slack when processing timers. */ 429 429 rc = CFGMR3QueryU32(pCfgHandle, "ScheduleSlack", &pVM->tm.s.u32VirtualSyncScheduleSlack); … … 434 434 N_("Configuration error: Failed to querying 32-bit integer value \"ScheduleSlack\"")); 435 435 436 /** @cfgm{ TM/CatchUpStopThreshold, uint64_t, ns, 0, UINT64_MAX, 500000}436 /** @cfgm{/TM/CatchUpStopThreshold, uint64_t, ns, 0, UINT64_MAX, 500000} 437 437 * When to stop a catch-up, considering it successful. */ 438 438 rc = CFGMR3QueryU64(pCfgHandle, "CatchUpStopThreshold", &pVM->tm.s.u64VirtualSyncCatchUpStopThreshold); … … 443 443 N_("Configuration error: Failed to querying 64-bit integer value \"CatchUpStopThreshold\"")); 444 444 445 /** @cfgm{ TM/CatchUpGiveUpThreshold, uint64_t, ns, 0, UINT64_MAX, 60000000000}445 /** @cfgm{/TM/CatchUpGiveUpThreshold, uint64_t, ns, 0, UINT64_MAX, 60000000000} 446 446 * When to give up a catch-up attempt. */ 447 447 rc = CFGMR3QueryU64(pCfgHandle, "CatchUpGiveUpThreshold", &pVM->tm.s.u64VirtualSyncCatchUpGiveUpThreshold); … … 453 453 454 454 455 /** @cfgm{ TM/CatchUpPrecentage[0..9], uint32_t, %, 1, 2000, various}455 /** @cfgm{/TM/CatchUpPrecentage[0..9], uint32_t, %, 1, 2000, various} 456 456 * The catch-up percent for a given period. */ 457 /** @cfgm{ TM/CatchUpStartThreshold[0..9], uint64_t, ns, 0, UINT64_MAX}457 /** @cfgm{/TM/CatchUpStartThreshold[0..9], uint64_t, ns, 0, UINT64_MAX} 458 458 * The catch-up period threshold, or if you like, when a period starts. */ 459 459 #define TM_CFG_PERIOD(iPeriod, DefStart, DefPct) \ … … 493 493 * Configure real world time (UTC). 494 494 */ 495 /** @cfgm{ TM/UTCOffset, int64_t, ns, INT64_MIN, INT64_MAX, 0}495 /** @cfgm{/TM/UTCOffset, int64_t, ns, INT64_MIN, INT64_MAX, 0} 496 496 * The UTC offset. This is used to put the guest back or forwards in time. */ 497 497 rc = CFGMR3QueryS64(pCfgHandle, "UTCOffset", &pVM->tm.s.offUTC); … … 505 505 * Setup the warp drive. 506 506 */ 507 /** @cfgm{ TM/WarpDrivePercentage, uint32_t, %, 0, 20000, 100}507 /** @cfgm{/TM/WarpDrivePercentage, uint32_t, %, 0, 20000, 100} 508 508 * The warp drive percentage, 100% is normal speed. This is used to speed up 509 509 * or slow down the virtual clock, which can be useful for fast forwarding … … 562 562 * Start the timer (guard against REM not yielding). 563 563 */ 564 /** @cfgm{ TM/TimerMillies, uint32_t, ms, 1, 1000, 10}564 /** @cfgm{/TM/TimerMillies, uint32_t, ms, 1, 1000, 10} 565 565 * The watchdog timer interval. */ 566 566 uint32_t u32Millies; -
trunk/src/VBox/VMM/VMMR3/VMM.cpp
r52699 r52764 171 171 pVM->vmm.s.hEvtRendezvousDoneCaller = NIL_RTSEMEVENT; 172 172 173 /** @cfgm{ YieldEMTInterval, uint32_t, 1, UINT32_MAX, 23, ms}173 /** @cfgm{/YieldEMTInterval, uint32_t, 1, UINT32_MAX, 23, ms} 174 174 * The EMT yield interval. The EMT yielding is a hack we employ to play a 175 175 * bit nicer with the rest of the system (like for instance the GUI). … … 180 180 181 181 182 /** @cfgm{ VMM/UsePeriodicPreemptionTimers, boolean, true}182 /** @cfgm{/VMM/UsePeriodicPreemptionTimers, boolean, true} 183 183 * Controls whether we employ per-cpu preemption timers to limit the time 184 184 * spent executing guest code. This option is not available on all -
trunk/src/VBox/VMM/include/PGMInternal.h
r51517 r52764 3106 3106 int32_t offVCpuPGM; 3107 3107 3108 /** @cfgm{ RamPreAlloc, boolean, false}3108 /** @cfgm{/RamPreAlloc, boolean, false} 3109 3109 * Indicates whether the base RAM should all be allocated before starting 3110 3110 * the VM (default), or if it should be allocated when first written to. … … 3315 3315 /** The number of mapped chunks. */ 3316 3316 uint32_t c; 3317 /** The maximum number of mapped chunks. 3318 * @cfgm PGM/MaxRing3Chunks */ 3317 /** @cfgm{/PGM/MaxRing3Chunks, uint32_t, host dependent} 3318 * The maximum number of mapped chunks. On 64-bit this is unlimited by default, 3319 * on 32-bit it defaults to 1 or 3 GB depending on the host. */ 3319 3320 uint32_t cMax; 3320 3321 /** The current time. This is incremented whenever a chunk is inserted. */ -
trunk/src/VBox/VMM/include/TMInternal.h
r51959 r52764 446 446 /** Alignment */ 447 447 bool afAlignment2[3]; 448 /** @cfgm{ TM/HostHzMax, uint32_t, Hz, 0, UINT32_MAX, 20000}448 /** @cfgm{/TM/HostHzMax, uint32_t, Hz, 0, UINT32_MAX, 20000} 449 449 * The max host Hz frequency hint returned by TMCalcHostTimerFrequency. */ 450 450 uint32_t cHostHzMax; 451 /** @cfgm{ TM/HostHzFudgeFactorTimerCpu, uint32_t, Hz, 0, UINT32_MAX, 111}451 /** @cfgm{/TM/HostHzFudgeFactorTimerCpu, uint32_t, Hz, 0, UINT32_MAX, 111} 452 452 * The number of Hz TMCalcHostTimerFrequency adds for the timer CPU. */ 453 453 uint32_t cPctHostHzFudgeFactorTimerCpu; 454 /** @cfgm{ TM/HostHzFudgeFactorOtherCpu, uint32_t, Hz, 0, UINT32_MAX, 110}454 /** @cfgm{/TM/HostHzFudgeFactorOtherCpu, uint32_t, Hz, 0, UINT32_MAX, 110} 455 455 * The number of Hz TMCalcHostTimerFrequency adds for the other CPUs. */ 456 456 uint32_t cPctHostHzFudgeFactorOtherCpu; 457 /** @cfgm{ TM/HostHzFudgeFactorCatchUp100, uint32_t, Hz, 0, UINT32_MAX, 300}457 /** @cfgm{/TM/HostHzFudgeFactorCatchUp100, uint32_t, Hz, 0, UINT32_MAX, 300} 458 458 * The fudge factor (expressed in percent) that catch-up percentages below 459 459 * 100% is multiplied by. */ 460 460 uint32_t cPctHostHzFudgeFactorCatchUp100; 461 /** @cfgm{ TM/HostHzFudgeFactorCatchUp200, uint32_t, Hz, 0, UINT32_MAX, 250}461 /** @cfgm{/TM/HostHzFudgeFactorCatchUp200, uint32_t, Hz, 0, UINT32_MAX, 250} 462 462 * The fudge factor (expressed in percent) that catch-up percentages 463 463 * 100%-199% is multiplied by. */ 464 464 uint32_t cPctHostHzFudgeFactorCatchUp200; 465 /** @cfgm{ TM/HostHzFudgeFactorCatchUp400, uint32_t, Hz, 0, UINT32_MAX, 200}465 /** @cfgm{/TM/HostHzFudgeFactorCatchUp400, uint32_t, Hz, 0, UINT32_MAX, 200} 466 466 * The fudge factor (expressed in percent) that catch-up percentages 467 467 * 200%-399% is multiplied by. */
Note:
See TracChangeset
for help on using the changeset viewer.