VirtualBox

Changeset 71641 in vbox


Ignore:
Timestamp:
Apr 4, 2018 6:31:20 AM (7 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested hw.virt: Use CPUMIsGuestSvmVirtIntrMasking instead of looking at the VMCB directly.

File:
1 edited

Legend:

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

    r71416 r71641  
    51155115            {
    51165116                PCSVMVMCBCTRL pVmcbCtrl = &pCtx->hwvirt.svm.CTX_SUFF(pVmcb)->ctrl;
    5117                 if (pVmcbCtrl->IntCtrl.n.u1VIntrMasking)
     5117                if (CPUMIsGuestSvmVirtIntrMasking(pVCpu, pCtx))
    51185118                {
    51195119                    crX = pVmcbCtrl->IntCtrl.n.u8VTPR & 0xf;
     
    55315531                PSVMVMCBCTRL pVmcbCtrl = &pCtx->hwvirt.svm.CTX_SUFF(pVmcb)->ctrl;
    55325532                pVmcbCtrl->IntCtrl.n.u8VTPR = uNewCrX;
    5533                 if (pVmcbCtrl->IntCtrl.n.u1VIntrMasking)
     5533                if (CPUMIsGuestSvmVirtIntrMasking(pVCpu, pCtx))
    55345534                {
    55355535                    rcStrict = VINF_SUCCESS;
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