VirtualBox

Changeset 52764 in vbox


Ignore:
Timestamp:
Sep 16, 2014 3:57:03 PM (10 years ago)
Author:
vboxsync
Message:

@cfgm adjustments.

Location:
trunk/src/VBox/VMM
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/CPUM.cpp

    r52698 r52764  
    10681068     * Read the configuration.
    10691069     */
    1070     /** @cfgm{CPUM/SyntheticCpu, boolean, false}
     1070    /** @cfgm{/CPUM/SyntheticCpu, boolean, false}
    10711071     * Enables the Synthetic CPU.  The Vendor ID and Processor Name are
    10721072     * completely overridden by VirtualBox custom strings.  Some
     
    10781078    AssertRCReturn(rc, rc);
    10791079
    1080     /** @cfgm{CPUM/PortableCpuIdLevel, 8-bit, 0, 3, 0}
     1080    /** @cfgm{/CPUM/PortableCpuIdLevel, 8-bit, 0, 3, 0}
    10811081     * When non-zero CPUID features that could cause portability issues will be
    10821082     * stripped.  The higher the value the more features gets stripped.  Higher
     
    10861086    AssertLogRelRCReturn(rc, rc);
    10871087
    1088     /** @cfgm{CPUM/GuestCpuName, string}
     1088    /** @cfgm{/CPUM/GuestCpuName, string}
    10891089     * The name of the CPU we're to emulate.  The default is the host CPU.
    10901090     * Note! CPUs other than "host" one is currently unsupported. */
     
    11581158             : rc;
    11591159
    1160     /** @cfgm{CPUM/MSRs/[Name]/[First|Last|Type|Value|...],}
     1160    /** @cfgm{/CPUM/MSRs/[Name]/[First|Last|Type|Value|...],}
    11611161     * Overrides the guest MSRs.
    11621162     */
    11631163    rc = cpumR3LoadMsrOverrides(pVM, CFGMR3GetChild(pCpumCfg, "MSRs"));
    11641164
    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}
    11661166     * Overrides the CPUID leaf values (from the host CPU usually) used for
    11671167     * calculating the guest CPUID leaves.  This can be used to preserve the CPUID
     
    17121712     * MSR fudging.
    17131713     */
    1714     /** @cfgm{CPUM/FudgeMSRs, boolean, true}
     1714    /** @cfgm{/CPUM/FudgeMSRs, boolean, true}
    17151715     * Fudges some common MSRs if not present in the selected CPU database entry.
    17161716     * This is for trying to keep VMs running when moved between different hosts
  • trunk/src/VBox/VMM/VMMR3/GIM.cpp

    r52761 r52764  
    101101    PCFGMNODE pCfgNode = CFGMR3GetChild(CFGMR3GetRoot(pVM), "GIM/");
    102102
    103     /** @cfgm{GIM/Provider, string}
     103    /** @cfgm{/GIM/Provider, string}
    104104     * The name of the GIM provider. The default is "none". */
    105105    char szProvider[64];
     
    107107    AssertLogRelRCReturn(rc, rc);
    108108
    109     /** @cfgm{GIM/Version, uint32_t}
     109    /** @cfgm{/GIM/Version, uint32_t}
    110110     * The interface version. The default is 0, which means "provide the most
    111111     * up-to-date implementation". */
  • trunk/src/VBox/VMM/VMMR3/MM.cpp

    r44528 r52764  
    309309    }
    310310
    311     /** @cfgm{RamSize, uint64_t, 0, 16TB, 0}
     311    /** @cfgm{/RamSize, uint64_t, 0, 16TB, 0}
    312312     * Specifies the size of the base RAM that is to be set up during
    313313     * VM initialization.
     
    324324    pVM->mm.s.cbRamBase = cbRam;
    325325
    326     /** @cfgm{RamHoleSize, uint32_t, 0, 4032MB, 512MB}
     326    /** @cfgm{/RamHoleSize, uint32_t, 0, 4032MB, 512MB}
    327327     * Specifies the size of the memory hole. The memory hole is used
    328328     * to avoid mapping RAM to the range normally used for PCI memory regions.
     
    343343        Log(("MM: %RU64 bytes of RAM with a hole at %RU64 up to 4GB.\n", cbRam, offRamHole));
    344344
    345     /** @cfgm{MM/Policy, string, no overcommitment}
     345    /** @cfgm{/MM/Policy, string, no overcommitment}
    346346     * Specifies the policy to use when reserving memory for this VM. The recognized
    347347     * value is 'no overcommitment' (default). See GMMPOLICY.
     
    363363        AssertMsgFailedReturn(("Configuration error: Failed to query string \"MM/Policy\", rc=%Rrc.\n", rc), rc);
    364364
    365     /** @cfgm{MM/Priority, string, normal}
     365    /** @cfgm{/MM/Priority, string, normal}
    366366     * Specifies the memory priority of this VM. The priority comes into play when the
    367367     * system is overcommitted and the VMs needs to be milked for memory. The recognized
  • trunk/src/VBox/VMM/VMMR3/TM.cpp

    r51959 r52764  
    356356    }
    357357
    358     /** @cfgm{TM/TSCTicksPerSecond, uint32_t, Current TSC frequency from GIP}
     358    /** @cfgm{/TM/TSCTicksPerSecond, uint32_t, Current TSC frequency from GIP}
    359359     * The number of TSC ticks per second (i.e. the TSC frequency). This will
    360360     * override TSCUseRealTSC, TSCVirtualized and MaybeUseOffsettedHostTSC.
     
    385385    }
    386386
    387     /** @cfgm{TM/TSCTiedToExecution, bool, false}
     387    /** @cfgm{/TM/TSCTiedToExecution, bool, false}
    388388     * Whether the TSC should be tied to execution. This will exclude most of the
    389389     * virtualization overhead, but will by default include the time spent in the
     
    404404    }
    405405
    406     /** @cfgm{TM/TSCNotTiedToHalt, bool, true}
     406    /** @cfgm{/TM/TSCNotTiedToHalt, bool, true}
    407407     * For overriding the default of TM/TSCTiedToExecution, i.e. set this to false
    408408     * to make the TSC freeze during HLT. */
     
    425425     * Configure the timer synchronous virtual time.
    426426     */
    427     /** @cfgm{TM/ScheduleSlack, uint32_t, ns, 0, UINT32_MAX, 100000}
     427    /** @cfgm{/TM/ScheduleSlack, uint32_t, ns, 0, UINT32_MAX, 100000}
    428428     * Scheduling slack when processing timers. */
    429429    rc = CFGMR3QueryU32(pCfgHandle, "ScheduleSlack", &pVM->tm.s.u32VirtualSyncScheduleSlack);
     
    434434                          N_("Configuration error: Failed to querying 32-bit integer value \"ScheduleSlack\""));
    435435
    436     /** @cfgm{TM/CatchUpStopThreshold, uint64_t, ns, 0, UINT64_MAX, 500000}
     436    /** @cfgm{/TM/CatchUpStopThreshold, uint64_t, ns, 0, UINT64_MAX, 500000}
    437437     * When to stop a catch-up, considering it successful. */
    438438    rc = CFGMR3QueryU64(pCfgHandle, "CatchUpStopThreshold", &pVM->tm.s.u64VirtualSyncCatchUpStopThreshold);
     
    443443                          N_("Configuration error: Failed to querying 64-bit integer value \"CatchUpStopThreshold\""));
    444444
    445     /** @cfgm{TM/CatchUpGiveUpThreshold, uint64_t, ns, 0, UINT64_MAX, 60000000000}
     445    /** @cfgm{/TM/CatchUpGiveUpThreshold, uint64_t, ns, 0, UINT64_MAX, 60000000000}
    446446     * When to give up a catch-up attempt. */
    447447    rc = CFGMR3QueryU64(pCfgHandle, "CatchUpGiveUpThreshold", &pVM->tm.s.u64VirtualSyncCatchUpGiveUpThreshold);
     
    453453
    454454
    455     /** @cfgm{TM/CatchUpPrecentage[0..9], uint32_t, %, 1, 2000, various}
     455    /** @cfgm{/TM/CatchUpPrecentage[0..9], uint32_t, %, 1, 2000, various}
    456456     * 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}
    458458     * The catch-up period threshold, or if you like, when a period starts.  */
    459459#define TM_CFG_PERIOD(iPeriod, DefStart, DefPct) \
     
    493493     * Configure real world time (UTC).
    494494     */
    495     /** @cfgm{TM/UTCOffset, int64_t, ns, INT64_MIN, INT64_MAX, 0}
     495    /** @cfgm{/TM/UTCOffset, int64_t, ns, INT64_MIN, INT64_MAX, 0}
    496496     * The UTC offset. This is used to put the guest back or forwards in time.  */
    497497    rc = CFGMR3QueryS64(pCfgHandle, "UTCOffset", &pVM->tm.s.offUTC);
     
    505505     * Setup the warp drive.
    506506     */
    507     /** @cfgm{TM/WarpDrivePercentage, uint32_t, %, 0, 20000, 100}
     507    /** @cfgm{/TM/WarpDrivePercentage, uint32_t, %, 0, 20000, 100}
    508508     * The warp drive percentage, 100% is normal speed.  This is used to speed up
    509509     * or slow down the virtual clock, which can be useful for fast forwarding
     
    562562     * Start the timer (guard against REM not yielding).
    563563     */
    564     /** @cfgm{TM/TimerMillies, uint32_t, ms, 1, 1000, 10}
     564    /** @cfgm{/TM/TimerMillies, uint32_t, ms, 1, 1000, 10}
    565565     * The watchdog timer interval.  */
    566566    uint32_t u32Millies;
  • trunk/src/VBox/VMM/VMMR3/VMM.cpp

    r52699 r52764  
    171171    pVM->vmm.s.hEvtRendezvousDoneCaller         = NIL_RTSEMEVENT;
    172172
    173     /** @cfgm{YieldEMTInterval, uint32_t, 1, UINT32_MAX, 23, ms}
     173    /** @cfgm{/YieldEMTInterval, uint32_t, 1, UINT32_MAX, 23, ms}
    174174     * The EMT yield interval.  The EMT yielding is a hack we employ to play a
    175175     * bit nicer with the rest of the system (like for instance the GUI).
     
    180180
    181181
    182     /** @cfgm{VMM/UsePeriodicPreemptionTimers, boolean, true}
     182    /** @cfgm{/VMM/UsePeriodicPreemptionTimers, boolean, true}
    183183     * Controls whether we employ per-cpu preemption timers to limit the time
    184184     * spent executing guest code.  This option is not available on all
  • trunk/src/VBox/VMM/include/PGMInternal.h

    r51517 r52764  
    31063106    int32_t                         offVCpuPGM;
    31073107
    3108     /** @cfgm{RamPreAlloc, boolean, false}
     3108    /** @cfgm{/RamPreAlloc, boolean, false}
    31093109     * Indicates whether the base RAM should all be allocated before starting
    31103110     * the VM (default), or if it should be allocated when first written to.
     
    33153315        /** The number of mapped chunks. */
    33163316        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. */
    33193320        uint32_t                    cMax;
    33203321        /** The current time.  This is incremented whenever a chunk is inserted. */
  • trunk/src/VBox/VMM/include/TMInternal.h

    r51959 r52764  
    446446    /** Alignment */
    447447    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}
    449449     * The max host Hz frequency hint returned by TMCalcHostTimerFrequency.  */
    450450    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}
    452452     * The number of Hz TMCalcHostTimerFrequency adds for the timer CPU.  */
    453453    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}
    455455     * The number of Hz TMCalcHostTimerFrequency adds for the other CPUs. */
    456456    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}
    458458     *  The fudge factor (expressed in percent) that catch-up percentages below
    459459     * 100% is multiplied by. */
    460460    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}
    462462     * The fudge factor (expressed in percent) that catch-up percentages
    463463     * 100%-199% is multiplied by. */
    464464    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}
    466466     * The fudge factor (expressed in percent) that catch-up percentages
    467467     * 200%-399% is multiplied by. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette