VirtualBox

Changeset 68341 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 8, 2017 12:26:12 PM (7 years ago)
Author:
vboxsync
Message:

VMM/CPUM: Fix regression in r117450.

File:
1 edited

Legend:

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

    r68329 r68341  
    12691269     */
    12701270    /* SVM. */
    1271     memset(pCtx->hwvirt.svm.CTX_SUFF(pVmcb), 0, sizeof(SVMVMCB));
     1271    if (pCtx->hwvirt.svm.CTX_SUFF(pVmcb))
     1272        memset(pCtx->hwvirt.svm.CTX_SUFF(pVmcb), 0, SVM_VMCB_PAGES << PAGE_SHIFT);
    12721273    pCtx->hwvirt.svm.uMsrHSavePa = 0;
    12731274    pCtx->hwvirt.svm.GCPhysVmcb = 0;
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