VirtualBox

Changeset 43726 in vbox


Ignore:
Timestamp:
Oct 24, 2012 2:08:15 PM (12 years ago)
Author:
vboxsync
Message:

VMM/VMMR0/HWVMXR0: Save and restore the guest EFER MSR using MSR-autoload/store.

File:
1 edited

Legend:

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

    r43708 r43726  
    14081408        if (u32HostExtFeatures & (X86_CPUID_EXT_FEATURE_EDX_NX | X86_CPUID_EXT_FEATURE_EDX_LONG_MODE))
    14091409        {
    1410 #if 0
    14111410            pMsr->u32IndexMSR = MSR_K6_EFER;
    14121411            pMsr->u32Reserved = 0;
     
    14211420                pMsr->u64Value    = ASMRdMsr(MSR_K6_EFER);
    14221421            pMsr++; idxMsr++;
    1423 #endif
    14241422        }
    14251423
     
    22002198    if (u32GstExtFeatures & (X86_CPUID_EXT_FEATURE_EDX_NX | X86_CPUID_EXT_FEATURE_EDX_LONG_MODE))
    22012199    {
    2202 #if 0
    22032200        pMsr->u32IndexMSR = MSR_K6_EFER;
    22042201        pMsr->u32Reserved = 0;
     
    22082205            pMsr->u64Value &= ~(MSR_K6_EFER_LMA | MSR_K6_EFER_LME);
    22092206        pMsr++; idxMsr++;
    2210 #endif
    22112207
    22122208        if (u32GstExtFeatures & X86_CPUID_EXT_FEATURE_EDX_LONG_MODE)
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