VirtualBox

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


Ignore:
Timestamp:
Jul 17, 2012 10:15:18 AM (12 years ago)
Author:
vboxsync
Message:

VMM/HWVMXR0: Fixed assertion in saved states due to differing CpuIds.

File:
1 edited

Legend:

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

    r42161 r42173  
    13721372# endif
    13731373
    1374         if (pVCpu->hwaccm.s.vmx.proc_ctls2 & VMX_VMCS_CTRL_PROC_EXEC2_RDTSCP)
    1375         {
    1376             Assert(u32HostExtFeatures & X86_CPUID_EXT_FEATURE_EDX_RDTSCP);
     1374        if (   (u32HostExtFeatures & X86_CPUID_EXT_FEATURE_EDX_RDTSCP)
     1375            && pVCpu->hwaccm.s.vmx.proc_ctls2 & VMX_VMCS_CTRL_PROC_EXEC2_RDTSCP)
     1376        {
    13771377            pMsr->u32IndexMSR = MSR_K8_TSC_AUX;
    13781378            pMsr->u32Reserved = 0;
     
    21682168    }
    21692169
    2170     if (pVCpu->hwaccm.s.vmx.proc_ctls2 & VMX_VMCS_CTRL_PROC_EXEC2_RDTSCP)
    2171     {
    2172         Assert(u32GstExtFeatures & X86_CPUID_EXT_FEATURE_EDX_RDTSCP);
     2170    if (   pVCpu->hwaccm.s.vmx.proc_ctls2 & VMX_VMCS_CTRL_PROC_EXEC2_RDTSCP
     2171        && (u32GstExtFeatures & X86_CPUID_EXT_FEATURE_EDX_RDTSCP))
     2172    {
    21732173        pMsr->u32IndexMSR = MSR_K8_TSC_AUX;
    21742174        pMsr->u32Reserved = 0;
     
    39713971
    39723972    /*
    3973      * 48 EPT violation. An attemp to access memory with a guest-physical address was disallowed
     3973     * 48 EPT violation. An attempt to access memory with a guest-physical address was disallowed
    39743974     * by the configuration of the EPT paging structures.
    39753975     */
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