VirtualBox

Ignore:
Timestamp:
Jan 25, 2018 4:50:36 AM (7 years ago)
Author:
vboxsync
Message:

VMM: Move fGif out of svm and into common nested hwvirt struct.

File:
1 edited

Legend:

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

    r70721 r70732  
    22342234    {
    22352235        Assert(pVM->hm.s.svm.fVGif);
    2236         pVmcb->ctrl.IntCtrl.n.u1VGif = pCtx->hwvirt.svm.fGif;
     2236        pVmcb->ctrl.IntCtrl.n.u1VGif = pCtx->hwvirt.fGif;
    22372237    }
    22382238#endif
     
    25282528    {
    25292529        Assert(pVCpu->CTX_SUFF(pVM)->hm.s.svm.fVGif);
    2530         pMixedCtx->hwvirt.svm.fGif = pVmcb->ctrl.IntCtrl.n.u1VGif;
     2530        pMixedCtx->hwvirt.fGif = pVmcb->ctrl.IntCtrl.n.u1VGif;
    25312531    }
    25322532#endif
     
    34083408    Assert(!pVCpu->hm.s.Event.fPending);
    34093409
    3410     bool const fGif = pCtx->hwvirt.svm.fGif;
     3410    bool const fGif = pCtx->hwvirt.fGif;
    34113411    if (fGif)
    34123412    {
     
    35383538
    35393539#ifdef VBOX_WITH_NESTED_HWVIRT
    3540     bool const fGif = pCtx->hwvirt.svm.fGif;
     3540    bool const fGif = pCtx->hwvirt.fGif;
    35413541#else
    35423542    bool const fGif = true;
     
    36373637    bool const fIntShadow = hmR0SvmIsIntrShadowActive(pVCpu, pCtx);
    36383638#ifdef VBOX_STRICT
    3639     bool const fGif       = pCtx->hwvirt.svm.fGif;
     3639    bool const fGif       = pCtx->hwvirt.fGif;
    36403640    bool       fAllowInt  = fGif;
    36413641    if (fGif)
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