VirtualBox

Changeset 68329 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Aug 8, 2017 8:09:01 AM (7 years ago)
Author:
vboxsync
Message:

VMM/CPUM: Nested Hw.virt fixes.

File:
1 edited

Legend:

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

    r67924 r68329  
    805805        Assert(!pVCpu->cpum.s.Guest.hwvirt.svm.pVmcbR3);
    806806        rc = SUPR3PageAllocEx(SVM_VMCB_PAGES, 0 /* fFlags */, (void **)&pVCpu->cpum.s.Guest.hwvirt.svm.pVmcbR3,
    807                               (PRTR0PTR)pVCpu->cpum.s.Guest.hwvirt.svm.pVmcbR0, NULL /* paPages */);
     807                              &pVCpu->cpum.s.Guest.hwvirt.svm.pVmcbR0, NULL /* paPages */);
    808808        if (RT_FAILURE(rc))
    809809        {
     
    12691269     */
    12701270    /* SVM. */
    1271     memset(&pCtx->hwvirt.svm, 0, sizeof(pCtx->hwvirt.svm));
     1271    memset(pCtx->hwvirt.svm.CTX_SUFF(pVmcb), 0, sizeof(SVMVMCB));
     1272    pCtx->hwvirt.svm.uMsrHSavePa = 0;
     1273    pCtx->hwvirt.svm.GCPhysVmcb = 0;
    12721274    pCtx->hwvirt.svm.fGif = 1;
    12731275}
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