VirtualBox

Changeset 71036 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Feb 16, 2018 5:47:33 AM (7 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested Hw.virt: Comment, removed obsolete todo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImplSvmInstr.cpp.h

    r70970 r71036  
    154154
    155155        PSVMVMCBCTRL pVmcbCtrl = &pCtx->hwvirt.svm.CTX_SUFF(pVmcb)->ctrl;
    156         /* Record any interrupt shadow of the nested-guest instruction into the nested-guest VMCB. */
     156
     157        /*
     158         * Save additional state and intercept information.
     159         *
     160         *   - Interrupt shadow: Tracked using VMCPU_FF_INHIBIT_INTERRUPTS and RIP.
     161         *   - V_TPR: Already updated by iemCImpl_load_CrX or by the physical CPU for
     162         *     hardware-assisted SVM execution.
     163         *   - V_IRQ: Tracked using VMCPU_FF_INTERRUPT_NESTED_GUEST force-flag and updated below.
     164         */
    157165        if (   VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_INHIBIT_INTERRUPTS)
    158166            && EMGetInhibitInterruptsPC(pVCpu) == pCtx->rip)
     
    165173        }
    166174
    167         /*
    168          * Save additional state and intercept information.
    169          */
    170175        if (VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_INTERRUPT_NESTED_GUEST))
    171176        {
     
    176181            pVmcbCtrl->IntCtrl.n.u1VIrqPending = 0;
    177182
    178         /** @todo Save V_TPR, V_IRQ. */
    179183        /** @todo NRIP. */
    180184
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