VirtualBox

Ignore:
Timestamp:
Oct 4, 2018 10:56:05 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
125491
Message:

VMM/IEM: Nested VMX: bugref:9180 Added CR0 guest/host and read-shadow masking for Mov-from-CR0 instructions.

File:
1 edited

Legend:

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

    r74607 r74608  
    52085208        IEM_NOT_REACHED_DEFAULT_CASE_RET(); /* call checks */
    52095209    }
     5210
     5211#ifdef VBOX_WITH_NESTED_HWVIRT_VMX
     5212    if (IEM_VMX_IS_NON_ROOT_MODE(pVCpu))
     5213    {
     5214        if (iCrReg == 0)
     5215            crX = iemVmxGetMaskedCr0(pVCpu, crX);
     5216    }
     5217#endif
    52105218
    52115219    /* store it */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette