VirtualBox

Changeset 71798 in vbox for trunk


Ignore:
Timestamp:
Apr 10, 2018 5:55:52 AM (7 years ago)
Author:
vboxsync
Message:

VMM/HM: Comment.

File:
1 edited

Legend:

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

    r71755 r71798  
    582582     * A counter that is decrement each time a PAUSE instruction is executed by the
    583583     * guest. When the counter is 0, a \#VMEXIT is triggered.
     584     *
     585     * Setting SvmPauseFilterCount to 0 disables pause-filter exiting.
    584586     */
    585587    rc = CFGMR3QueryU16Def(pCfgHm, "SvmPauseFilter", &pVM->hm.s.svm.cPauseFilter, 0);
     
    587589
    588590    /** @cfgm{/HM/SvmPauseFilterThreshold, uint16_t, 0}
    589      * The pause filter threshold in ticks. When the elapsed time between two
    590      * successive PAUSE instructions exceeds SvmPauseFilterThreshold, the PauseFilter
    591      * count is reset to its initial value. However, if PAUSE is executed PauseFilter
    592      * times within PauseFilterThreshold ticks, a VM-exit will be triggered.
     591     * The pause filter threshold in ticks. When the elapsed time (in ticks) between
     592     * two successive PAUSE instructions exceeds SvmPauseFilterThreshold, the
     593     * PauseFilter count is reset to its initial value. However, if PAUSE is
     594     * executed PauseFilter times within PauseFilterThreshold ticks, a VM-exit will
     595     * be triggered.
    593596     *
    594      * Setting both SvmPauseFilterCount and SvmPauseFilterCount to 0 disables
    595      * pause-filter exiting.
     597     * Requires SvmPauseFilterCount to be non-zero for pause-filter threshold to be
     598     * activated.
    596599     */
    597600    rc = CFGMR3QueryU16Def(pCfgHm, "SvmPauseFilterThreshold", &pVM->hm.s.svm.cPauseFilterThresholdTicks, 0);
     
    35363539        /** @todo We need to save SVMNESTEDVMCBCACHE (if pCtx fHMCached is true as we
    35373540         *        are in nested-geust execution and the cache contains pristine
    3538          *        fields that we only restore on #VMEXIT and not on
     3541         *        fields that we only restore on \#VMEXIT and not on
    35393542         *        every exit-to-ring 3. */
    35403543    }
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