VirtualBox

Changeset 70232 in vbox


Ignore:
Timestamp:
Dec 20, 2017 11:20:39 AM (7 years ago)
Author:
vboxsync
Message:

VMM/HMSVMR0: Comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp

    r70177 r70232  
    33043304                /*
    33053305                 * AMD-V has no TPR thresholding feature. We just avoid posting the interrupt.
    3306                  * We just avoid delivering the TPR-masked interrupt here. TPR will be updated
    3307                  * always via hmR0SvmLoadGuestState() -> hmR0SvmLoadGuestApicState().
     3306                 * We just avoid delivering the TPR-masked interrupt here. TPR and the force-flag
     3307                 * will be updated eventually when the TPR is written by the guest.
    33083308                 */
    33093309                STAM_COUNTER_INC(&pVCpu->hm.s.StatSwitchTprMaskedIrq);
     
    33143314
    33153315        /*
    3316          * Check if the nested-guest can receive virtual (injected by VMRUN) interrupts.
    3317          * We can safely call CPUMCanSvmNstGstTakeVirtIntr here as we don't cache/modify any
    3318          * nested-guest VMCB interrupt control fields besides V_INTR_MASKING, see hmR0SvmVmRunCacheVmcb.
     3316         * Check if the nested-guest is intercepting virtual (using V_IRQ and related fields)
     3317         * interrupt injection. The virtual interrupt injection itself, if any, will be done
     3318         * by the physical CPU.
    33193319         */
    33203320        if (   VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_INTERRUPT_NESTED_GUEST)
     
    34193419                    /*
    34203420                     * AMD-V has no TPR thresholding feature. We just avoid posting the interrupt.
    3421                      * We just avoid delivering the TPR-masked interrupt here. TPR will be updated
    3422                      * always via hmR0SvmLoadGuestState() -> hmR0SvmLoadGuestApicState().
     3421                     * We just avoid delivering the TPR-masked interrupt here. TPR and the force-flag
     3422                     * will be updated eventually when the TPR is written by the guest.
    34233423                     */
    34243424                    STAM_COUNTER_INC(&pVCpu->hm.s.StatSwitchTprMaskedIrq);
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