VirtualBox

Changeset 87553 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Feb 3, 2021 10:44:02 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142580
Message:

VMM/HMVMX: Use g_uHmVmxHostMsrEfer instead of pVM->hm.s.vmx.u64HostMsrEfer in ring-0. [build fix] bugref:9217

File:
1 edited

Legend:

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

    r87552 r87553  
    49104910#else
    49114911    PCCPUMCTX pCtx = &pVCpu->cpum.GstCtx;
    4912     PVMCC pVM = pVCpu->CTX_SUFF(pVM);
    49134912    uint64_t const u64HostEfer  = g_uHmVmxHostMsrEfer;
    49144913    uint64_t const u64GuestEfer = pCtx->msrEFER;
     
    49564955         * actually be used while executing the guest and not the CR4 shadow value).
    49574956         */
    4958         AssertMsg(   pVM->hmr0.s.fNestedPaging
     4957        AssertMsg(   pVCpu->CTX_SUFF(pVM)->hmr0.s.fNestedPaging
    49594958                  || pVCpu->hm.s.enmShadowMode == PGMMODE_PAE
    49604959                  || pVCpu->hm.s.enmShadowMode == PGMMODE_PAE_NX
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