VirtualBox

Changeset 76464 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Dec 25, 2018 4:36:48 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
127765
Message:

VMM: Nested VMX: bugref:9180 Fix MSR initialization issue for exploding VMX features.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/CPUMInternal.h

    r75611 r76464  
    530530# ifdef IN_RING3
    531531int                 cpumR3DbgInit(PVM pVM);
    532 int                 cpumR3CpuIdExplodeFeatures(PCCPUMCPUIDLEAF paLeaves, uint32_t cLeaves, PCPUMFEATURES pFeatures);
    533 int                 cpumR3InitCpuIdAndMsrs(PVM pVM);
     532int                 cpumR3CpuIdExplodeFeatures(PCCPUMCPUIDLEAF paLeaves, uint32_t cLeaves, PCCPUMMSRS pMsrs, PCPUMFEATURES pFeatures);
     533int                 cpumR3InitCpuIdAndMsrs(PVM pVM, PCCPUMMSRS pHostMsrs);
     534void                cpumR3InitVmxGuestFeaturesAndMsrs(PVM pVM, PCVMXMSRS pHostVmxMsrs, PVMXMSRS pGuestVmxMsrs);
    534535void                cpumR3SaveCpuId(PVM pVM, PSSMHANDLE pSSM);
    535 int                 cpumR3LoadCpuId(PVM pVM, PSSMHANDLE pSSM, uint32_t uVersion);
     536int                 cpumR3LoadCpuId(PVM pVM, PSSMHANDLE pSSM, uint32_t uVersion, PCCPUMMSRS pGuestMsrs);
    536537int                 cpumR3LoadCpuIdPre32(PVM pVM, PSSMHANDLE pSSM, uint32_t uVersion);
    537538DECLCALLBACK(void)  cpumR3CpuIdInfo(PVM pVM, PCDBGFINFOHLP pHlp, const char *pszArgs);
  • trunk/src/VBox/VMM/include/CPUMInternal.mac

    r76148 r76464  
    253253    alignb 8
    254254    .Guest.hwvirt.svm.HCPhysVmcb             RTHCPHYS_RES 1
    255     .Guest.hwvirt.svm.u64Padding0            resb         120
     255    .Guest.hwvirt.svm.u64Padding0            resq         19
    256256    .Guest.hwvirt.enmHwvirt                  resd         1
    257257    .Guest.hwvirt.fGif                       resb         1
     
    543543    alignb 8
    544544    .Hyper.hwvirt.svm.HCPhysVmcb             RTHCPHYS_RES 1
    545     .Hyper.hwvirt.svm.u64Padding0            resb         120
     545    .Hyper.hwvirt.svm.u64Padding0            resq         19
    546546    .Hyper.hwvirt.enmHwvirt                  resd         1
    547547    .Hyper.hwvirt.fGif                       resb         1
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