VirtualBox

Changeset 56877 in vbox for trunk


Ignore:
Timestamp:
Jul 8, 2015 5:02:36 PM (10 years ago)
Author:
vboxsync
Message:

VMM/CPUM: Moved the MSR STAM registeration call to CPUMR3InitCompleted, so that we also get GIM MSRs ranges as GIM is init'd after CPUM

Location:
trunk/src/VBox/VMM/VMMR3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/CPUM.cpp

    r56872 r56877  
    24412441            pVCpu->cpum.s.fUseFlags |= CPUM_USE_SUPPORTS_LONGMODE;
    24422442    }
     2443
     2444    cpumR3MsrRegStats(pVM);
    24432445    return VINF_SUCCESS;
    24442446}
  • trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp

    r56873 r56877  
    39663966        pCpum->GuestInfo.paMsrRangesR0 = MMHyperR3ToR0(pVM, pCpum->GuestInfo.paMsrRangesR3);
    39673967        pCpum->GuestInfo.paMsrRangesRC = MMHyperR3ToRC(pVM, pCpum->GuestInfo.paMsrRangesR3);
    3968         cpumR3MsrRegStats(pVM);
    39693968
    39703969
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