VirtualBox

Changeset 71914 in vbox for trunk


Ignore:
Timestamp:
Apr 19, 2018 9:04:03 AM (7 years ago)
Author:
vboxsync
Message:

VMM/HMSVMR0: Build fix.

File:
1 edited

Legend:

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

    r71913 r71914  
    21522152 * @param   pVCpu           The cross context virtual CPU structure.
    21532153 * @param   pVmcbNstGst     Pointer to the nested-guest VM control block.
    2154  * @param   pCtx            Pointer to the guest-CPU context.
    2155  */
    2156 static void hmR0SvmMergeVmcbCtrlsNested(PVMCPU pVCpu, PSVMVMCB pVmcbNstGst, PCPUMCTX pCtx)
     2154 * @param   pCtx            Pointer to the nested-guest-CPU context.
     2155 */
     2156static void hmR0SvmMergeVmcbCtrlsNested(PVMCPU pVCpu, PCPUMCTX pCtx)
    21572157{
    21582158    PVM          pVM             = pVCpu->CTX_SUFF(pVM);
    21592159    PCSVMVMCB    pVmcb           = pVCpu->hm.s.svm.pVmcb;
     2160    PSVMVMCB     pVmcbNstGst     = pCtx->hwvirt.svm.CTX_SUFF(pVmcb);
    21602161    PSVMVMCBCTRL pVmcbNstGstCtrl = &pVmcbNstGst->ctrl;
    21612162
     
    25312532 *
    25322533 * @param   pVCpu           The cross context virtual CPU structure.
    2533  * @param   pCtx            Pointer to the guest-CPU context.
     2534 * @param   pCtx            Pointer to the nested-guest-CPU context.
    25342535 */
    25352536static void hmR0SvmVmRunSetupVmcb(PVMCPU pVCpu, PCPUMCTX pCtx)
     
    25832584
    25842585        /* Merge the guest and nested-guest intercepts. */
    2585         hmR0SvmMergeVmcbCtrlsNested(pVCpu, pVmcbNstGst, pCtx);
     2586        hmR0SvmMergeVmcbCtrlsNested(pVCpu, pCtx);
    25862587
    25872588        /* Update the VMCB clean bits. */
     
    40984099 * @param   pVM             The cross context VM structure.
    40994100 * @param   pVCpu           The cross context virtual CPU structure.
    4100  * @param   pCtx            Pointer to the guest-CPU context.
     4101 * @param   pCtx            Pointer to the nested-guest-CPU context.
    41014102 * @param   pSvmTransient   Pointer to the SVM transient structure.
    41024103 *
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