VirtualBox

Changeset 70416 in vbox


Ignore:
Timestamp:
Jan 2, 2018 8:37:13 AM (7 years ago)
Author:
vboxsync
Message:

VMM/IEM: SVM Virtual GIF check on VMRUN emulation.

File:
1 edited

Legend:

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

    r70358 r70416  
    366366        {
    367367            Log(("iemSvmVmrun: Virtualized VMSAVE/VMLOAD not supported -> #VMEXIT\n"));
     368            return iemSvmVmexit(pVCpu, pCtx, SVM_EXIT_INVALID, 0 /* uExitInfo1 */, 0 /* uExitInfo2 */);
     369        }
     370
     371        /* Virtual GIF. */
     372        if (    pVmcbCtrl->IntCtrl.n.u1VGifEnable
     373            && !pVM->cpum.ro.GuestFeatures.fSvmVGif)
     374        {
     375            Log(("iemSvmVmrun: Virtual GIF not supported -> #VMEXIT\n"));
    368376            return iemSvmVmexit(pVCpu, pCtx, SVM_EXIT_INVALID, 0 /* uExitInfo1 */, 0 /* uExitInfo2 */);
    369377        }
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